{"openapi":"3.1.0","info":{"title":"Banco API","description":"\n    API for collaborator and item management with database separation.\n    \n    The API is organized into three main sections:\n    - `/autcom/` - Endpoints accessing the MySQL database (legacy data)\n    - `/postgres/` - New endpoints accessing the PostgreSQL database\n    - `/neon/` - Backwards compatibility endpoints (also access PostgreSQL database)\n    \n    Note: Both `/postgres/` and `/neon/` endpoints connect to the same PostgreSQL database.\n    The `/neon/` endpoints are maintained for backwards compatibility with existing clients.\n    ","version":"0.1.0"},"paths":{"/autcom/barcode/{barcode}":{"get":{"tags":["autcom","barcode"],"summary":"Read Barcode","description":"Get product description by barcode\n\nArgs:\n    barcode: The product barcode to look up\n    \nReturns:\n    BarcodeResponse: Object containing the product description","operationId":"read_barcode_autcom_barcode__barcode__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"barcode","in":"path","required":true,"schema":{"type":"string","title":"Barcode"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BarcodeResponse"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autcom/colaborador/{code}":{"get":{"tags":["autcom","colaborador"],"summary":"Read Colaborador","description":"Get collaborator information by their code\n\nArgs:\n    code: The 3-digit collaborator code\n    \nReturns:\n    ColaboradorResponse: Object containing the collaborator information","operationId":"read_colaborador_autcom_colaborador__code__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ColaboradorResponse"}}}},"404":{"description":"Não encontrado"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autcom/todos_colaboradores":{"get":{"tags":["autcom","colaborador"],"summary":"Read Todos Colaboradores","description":"Get all collaborators information\n\nReturns:\n    List[ColaboradorCompleteResponse]: List containing all collaborators information","operationId":"read_todos_colaboradores_autcom_todos_colaboradores_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ColaboradorCompleteResponse"},"title":"Response Read Todos Colaboradores Autcom Todos Colaboradores Get"}}}},"404":{"description":"Não encontrado"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autcom/listar_grupos":{"get":{"tags":["autcom","grupos"],"summary":"List Grupos","description":"Get all groups from CADGRU table\n\nReturns:\n    List[Grupo]: List of groups sorted by description","operationId":"list_grupos_autcom_listar_grupos_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Grupo"},"title":"Response List Grupos Autcom Listar Grupos Get"}}}},"404":{"description":"Não encontrado"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autcom/items_grupo/{grupo_code}":{"get":{"tags":["autcom","grupos"],"summary":"Get Items By Grupo","description":"Get all items from a specific group\n\nArgs:\n    grupo_code: The group code to filter items\n    \nReturns:\n    List[Item]: List of items with code and description","operationId":"get_items_by_grupo_autcom_items_grupo__grupo_code__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"grupo_code","in":"path","required":true,"schema":{"type":"string","title":"Grupo Code"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Item"},"title":"Response Get Items By Grupo Autcom Items Grupo  Grupo Code  Get"}}}},"404":{"description":"Não encontrado"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autcom/vendas_agregadas_dia":{"post":{"tags":["autcom","grupos"],"summary":"Get Vendas Agregadas Dia","description":"Get aggregated sales data for specific products on a specific day, broken down by store\n\nArgs:\n    request: The request body containing product/group codes, date, minimum quantities, and optional store code\n    \nReturns:\n    VendaAgregadaResponse: Number of sales transactions for the specified products per store and total","operationId":"get_vendas_agregadas_dia_autcom_vendas_agregadas_dia_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendaAgregadaRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendaAgregadaResponse"}}}},"404":{"description":"Não encontrado"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autcom/vendas_horarias_loja":{"post":{"tags":["autcom","grupos"],"summary":"Get Vendas Horarias Loja","description":"Get hourly aggregated sales totals per store for a datetime range.\n\nThe response is normalized to America/Sao_Paulo and returns the latest\ncorrected aggregate for each store/hour directly from the source data.","operationId":"get_vendas_horarias_loja_autcom_vendas_horarias_loja_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendaHorariaLojaRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VendaHorariaLojaItem"},"title":"Response Get Vendas Horarias Loja Autcom Vendas Horarias Loja Post"}}}},"404":{"description":"Não encontrado"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autcom/vendas_agregadas_multiplos":{"post":{"tags":["autcom","grupos"],"summary":"Get Vendas Agregadas Multiplos","description":"Get aggregated sales data for specific products with up to 9 different agregados lists on a specific day\n\nArgs:\n    request: The request body containing principal product/group codes, up to 9 agregados lists, date, and other parameters\n    \nReturns:\n    VendaAgregadaMultiplaResponse: Number of sales transactions for principal products with each agregados list and without any agregados","operationId":"get_vendas_agregadas_multiplos_autcom_vendas_agregadas_multiplos_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendaAgregadaMultiplaRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendaAgregadaMultiplaResponse"}}}},"404":{"description":"Não encontrado"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autcom/vendas_dia":{"post":{"tags":["autcom","grupos"],"summary":"Get Vendas Dia","description":"Get sales count for a single item or group on a specific day\n\nArgs:\n    request: The request body containing item code, date, minimum quantity, and optional store code\n    \nReturns:\n    VendaDiaResponse: Number of sales transactions for the specified item or group","operationId":"get_vendas_dia_autcom_vendas_dia_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendaDiaRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendaDiaResponse"}}}},"404":{"description":"Não encontrado"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/postgres/sp/motivos":{"get":{"tags":["postgres","sp","motivos"],"summary":"Read Motivos","description":"Get all available motivos","operationId":"read_motivos_postgres_sp_motivos_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MotivoResponse"},"title":"Response Read Motivos Postgres Sp Motivos Get"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/postgres/sp/stores":{"get":{"tags":["postgres","sp","stores"],"summary":"Read Stores","description":"Get all available stores","operationId":"read_stores_postgres_sp_stores_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/StoreResponse"}},{"type":"null"}],"title":"Response Read Stores Postgres Sp Stores Get"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ps/servicos":{"get":{"tags":["ps","prestacao","servicos"],"summary":"Get Services","description":"Get all services with optional filtering by store and date range","operationId":"get_services_ps_servicos_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"loja","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Filter by store ID","title":"Loja"},"description":"Filter by store ID"},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Filter by start date (YYYY-MM-DD)","title":"Start Date"},"description":"Filter by start date (YYYY-MM-DD)"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Filter by end date (YYYY-MM-DD)","title":"End Date"},"description":"Filter by end date (YYYY-MM-DD)"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ps/servicos/{service_id}":{"get":{"tags":["ps","prestacao","servicos"],"summary":"Get Service","description":"Get a specific service by ID with its collaborators","operationId":"get_service_ps_servicos__service_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"integer","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ps/servicos/{service_id}/prestadores":{"post":{"tags":["ps","prestacao","servicos"],"summary":"Add Collaborator","description":"Add a collaborator to an existing service","operationId":"add_collaborator_ps_servicos__service_id__prestadores_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"integer","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollaboratorCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ps/servicos/excepcional":{"post":{"tags":["ps","prestacao","servicos"],"summary":"Create Exceptional Service Endpoint","description":"Create a new exceptional service (with excepcional flag set to True)","operationId":"create_exceptional_service_endpoint_ps_servicos_excepcional_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExceptionalServiceCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sa/registros":{"post":{"tags":["sa","saida","avulsa"],"summary":"Start Saida Avulsa","description":"Create a new Saida Avulsa entry with start information","operationId":"start_saida_avulsa_sa_registros_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaidaAvulsaCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sa/registros/abertos":{"get":{"tags":["sa","saida","avulsa"],"summary":"Get Open Saida Avulsa","description":"Get all open/unfinished Saida Avulsa entries","operationId":"get_open_saida_avulsa_sa_registros_abertos_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"loja_number","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Filter by store number","title":"Loja Number"},"description":"Filter by store number"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sa/registros/{entry_id}/finalizar":{"put":{"tags":["sa","saida","avulsa"],"summary":"Finalize Saida Avulsa","description":"Close an open Saida Avulsa entry with end information","operationId":"finalize_saida_avulsa_sa_registros__entry_id__finalizar_put","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"integer","title":"Entry Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaidaAvulsaClose"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oc/ocorrencias":{"post":{"tags":["oc","ocorrencias"],"summary":"Create Ocorrencia","description":"Create a new ocorrência entry. The fiscal_name can be provided or will be automatically fetched from CADOPE.","operationId":"create_ocorrencia_oc_ocorrencias_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OcorrenciaCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["oc","ocorrencias"],"summary":"Get Ocorrencias","description":"Get all ocorrências with optional filtering","operationId":"get_ocorrencias_oc_ocorrencias_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"topic_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Filter by topic ID","title":"Topic Id"},"description":"Filter by topic ID"},{"name":"fiscal_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by fiscal code","title":"Fiscal Code"},"description":"Filter by fiscal code"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by status","title":"Status"},"description":"Filter by status"},{"name":"data","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Filter by date","title":"Data"},"description":"Filter by date"},{"name":"loja","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Filter by store number","title":"Loja"},"description":"Filter by store number"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oc/topics":{"get":{"tags":["oc","ocorrencias"],"summary":"Get Topics","description":"Get all available topics","operationId":"get_topics_oc_topics_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/vendas_perdidas/consulta/{autoincrem}":{"get":{"tags":["vendas_perdidas","lost_sales"],"summary":"Query Lost Sales","description":"Query lost sales data after a specific AUTOINCREM from MOVVPG and MOVVPD tables","operationId":"query_lost_sales_vendas_perdidas_consulta__autoincrem__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"autoincrem","in":"path","required":true,"schema":{"type":"integer","title":"Autoincrem"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Number of records to return (max 50)","default":10,"title":"Limit"},"description":"Number of records to return (max 50)"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/vendas_perdidas/recentes":{"get":{"tags":["vendas_perdidas","lost_sales"],"summary":"Get Latest Autoincrem","description":"Get the latest AUTOINCREM values from MOVVPG","operationId":"get_latest_autoincrem_vendas_perdidas_recentes_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Number of recent records to return","default":50,"title":"Limit"},"description":"Number of recent records to return"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/vendas_perdidas/por_empresa_codigo/{codemp}/{codigo}":{"get":{"tags":["vendas_perdidas","lost_sales"],"summary":"Query Lost Sales By Codigo Empresa","description":"Query lost sales data by specific codigo and codemp from MOVVPG and MOVVPD tables","operationId":"query_lost_sales_by_codigo_empresa_vendas_perdidas_por_empresa_codigo__codemp___codigo__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"codemp","in":"path","required":true,"schema":{"type":"string","title":"Codemp"}},{"name":"codigo","in":"path","required":true,"schema":{"type":"string","title":"Codigo"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/vendas_perdidas/empresa/{codemp}/recentes":{"get":{"tags":["vendas_perdidas","lost_sales"],"summary":"Get Latest Lost Sales By Empresa","description":"Get the latest lost sales from MOVVPG for a specific company","operationId":"get_latest_lost_sales_by_empresa_vendas_perdidas_empresa__codemp__recentes_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"codemp","in":"path","required":true,"schema":{"type":"string","title":"Codemp"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Number of recent records to return","default":10,"title":"Limit"},"description":"Number of recent records to return"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/vendas_perdidas/empresa/{codemp}/apos/{codigo}":{"get":{"tags":["vendas_perdidas","lost_sales"],"summary":"Get Lost Sales After Code","description":"Get all lost sales after a specific code for a company","operationId":"get_lost_sales_after_code_vendas_perdidas_empresa__codemp__apos__codigo__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"codemp","in":"path","required":true,"schema":{"type":"string","title":"Codemp"}},{"name":"codigo","in":"path","required":true,"schema":{"type":"string","title":"Codigo"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Maximum number of records to return","default":50,"title":"Limit"},"description":"Maximum number of records to return"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pedidos/ativos/produto/{product_code}":{"get":{"tags":["pedidos","orders"],"summary":"Get Pending Orders By Product","description":"Get pending orders for a product, optionally filtered by store code","operationId":"get_pending_orders_by_product_pedidos_ativos_produto__product_code__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"product_code","in":"path","required":true,"schema":{"type":"string","title":"Product Code"}},{"name":"store_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by store code","title":"Store Code"},"description":"Filter by store code"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pedidos/ativos/loja/{store_code}":{"get":{"tags":["pedidos","orders"],"summary":"Get Pending Orders By Store","description":"Get all pending orders for a specific store","operationId":"get_pending_orders_by_store_pedidos_ativos_loja__store_code__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"store_code","in":"path","required":true,"schema":{"type":"string","title":"Store Code"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Maximum number of orders to return","default":100,"title":"Limit"},"description":"Maximum number of orders to return"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pedidos/ativos/fornecedor/{supplier_code}":{"get":{"tags":["pedidos","orders"],"summary":"Get Pending Orders By Supplier","description":"Get all pending orders for a specific supplier","operationId":"get_pending_orders_by_supplier_pedidos_ativos_fornecedor__supplier_code__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"supplier_code","in":"path","required":true,"schema":{"type":"string","title":"Supplier Code"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Maximum number of orders to return","default":100,"title":"Limit"},"description":"Maximum number of orders to return"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stock/loja/{store_code}/item/{item_code}":{"get":{"tags":["stock","inventory"],"summary":"Get Item Stock By Store","description":"Get stock information for a specific item in a specific store","operationId":"get_item_stock_by_store_stock_loja__store_code__item__item_code__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"store_code","in":"path","required":true,"schema":{"type":"string","title":"Store Code"}},{"name":"item_code","in":"path","required":true,"schema":{"type":"string","title":"Item Code"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stock/item/maximo/{loja}/{cadite_code}":{"get":{"tags":["stock","inventory"],"summary":"Get Item Max Stock","description":"Get current stock and maximum stock level for an item in a specific store","operationId":"get_item_max_stock_stock_item_maximo__loja___cadite_code__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"loja","in":"path","required":true,"schema":{"type":"string","title":"Loja"}},{"name":"cadite_code","in":"path","required":true,"schema":{"type":"string","title":"Cadite Code"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/postgres/sp/items/{item_id}":{"get":{"tags":["postgres","sp","items"],"summary":"Get Postgres Item By Id","operationId":"get_postgres_item_by_id_postgres_sp_items__item_id__get","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"integer","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemRecordResponse"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["postgres","sp","items"],"summary":"Delete Postgres Item","operationId":"delete_postgres_item_postgres_sp_items__item_id__delete","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"integer","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/postgres/sp/items/active/fiscal/{fiscal_code}":{"get":{"tags":["postgres","sp","items"],"summary":"Get Active Items Fiscal","operationId":"get_active_items_fiscal_postgres_sp_items_active_fiscal__fiscal_code__get","parameters":[{"name":"fiscal_code","in":"path","required":true,"schema":{"type":"string","title":"Fiscal Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ItemRecordResponse"},"title":"Response Get Active Items Fiscal Postgres Sp Items Active Fiscal  Fiscal Code  Get"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/postgres/sp/items/active/store/{store_id}":{"get":{"tags":["postgres","sp","items"],"summary":"Get Active Items Store","operationId":"get_active_items_store_postgres_sp_items_active_store__store_id__get","parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"integer","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ItemRecordResponse"},"title":"Response Get Active Items Store Postgres Sp Items Active Store  Store Id  Get"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/postgres/sp/items":{"post":{"tags":["postgres","sp","items"],"summary":"Create Postgres Item Record","operationId":"create_postgres_item_record_postgres_sp_items_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateItemRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ItemRecordResponse"},"type":"array","title":"Response Create Postgres Item Record Postgres Sp Items Post"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/postgres/sp/items/{item_id}/return":{"put":{"tags":["postgres","sp","items"],"summary":"Return Items","operationId":"return_items_postgres_sp_items__item_id__return_put","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"integer","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReturnItemsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemRecordResponse"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/postgres/armarios/loja/{loja}":{"get":{"tags":["postgres","armarios"],"summary":"Get Armarios By Store","description":"Get all armarios for a specific store","operationId":"get_armarios_by_store_postgres_armarios_loja__loja__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"loja","in":"path","required":true,"schema":{"type":"integer","description":"The store ID to filter armarios by","title":"Loja"},"description":"The store ID to filter armarios by"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ArmarioResponse"},"title":"Response Get Armarios By Store Postgres Armarios Loja  Loja  Get"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/postgres/armarios/{numero}":{"put":{"tags":["postgres","armarios"],"summary":"Update Armario Record","description":"Update an existing armario with new collaborator and fiscal information,\nor create a new armario if it doesn't exist.\n\nLooks up collaborator and fiscal names from their 3-digit codes unless provided.","operationId":"update_armario_record_postgres_armarios__numero__put","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"numero","in":"path","required":true,"schema":{"type":"integer","description":"The armario number to update","title":"Numero"},"description":"The armario number to update"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateArmarioRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArmarioResponse"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/postgres/armarios/{numero}/loja/{loja}":{"delete":{"tags":["postgres","armarios"],"summary":"Deactivate Armario Record","description":"Deactivate (set ativo=false) a specific armario by its numero and loja","operationId":"deactivate_armario_record_postgres_armarios__numero__loja__loja__delete","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"numero","in":"path","required":true,"schema":{"type":"integer","description":"The armario number to deactivate","title":"Numero"},"description":"The armario number to deactivate"},{"name":"loja","in":"path","required":true,"schema":{"type":"integer","description":"The store ID where the armario is located","title":"Loja"},"description":"The store ID where the armario is located"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/neon/sp/items/{item_id}":{"get":{"tags":["neon","sp","items"],"summary":"Get Neon Item By Id","operationId":"get_neon_item_by_id_neon_sp_items__item_id__get","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"integer","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyItemRecordResponse"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["neon","sp","items"],"summary":"Delete Neon Item","operationId":"delete_neon_item_neon_sp_items__item_id__delete","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"integer","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/neon/sp/items/active/fiscal/{fiscal_code}":{"get":{"tags":["neon","sp","items"],"summary":"Get Active Items Fiscal Neon","operationId":"get_active_items_fiscal_neon_neon_sp_items_active_fiscal__fiscal_code__get","parameters":[{"name":"fiscal_code","in":"path","required":true,"schema":{"type":"string","title":"Fiscal Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LegacyItemRecordResponse"},"title":"Response Get Active Items Fiscal Neon Neon Sp Items Active Fiscal  Fiscal Code  Get"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/neon/sp/items/active/store/{store_id}":{"get":{"tags":["neon","sp","items"],"summary":"Get Active Items Store Neon","operationId":"get_active_items_store_neon_neon_sp_items_active_store__store_id__get","parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"integer","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LegacyItemRecordResponse"},"title":"Response Get Active Items Store Neon Neon Sp Items Active Store  Store Id  Get"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/neon/sp/items":{"post":{"tags":["neon","sp","items"],"summary":"Create Neon Item Record","operationId":"create_neon_item_record_neon_sp_items_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateItemRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/LegacyItemRecordResponse"},"type":"array","title":"Response Create Neon Item Record Neon Sp Items Post"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/neon/sp/items/{item_id}/return":{"put":{"tags":["neon","sp","items"],"summary":"Return Items Neon","operationId":"return_items_neon_neon_sp_items__item_id__return_put","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"integer","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReturnItemsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyItemRecordResponse"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/neon/sp/stores":{"get":{"tags":["neon","sp","stores"],"summary":"Read Stores Neon","description":"Get all available stores (backwards compatibility endpoint)","operationId":"read_stores_neon_neon_sp_stores_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"items":{"$ref":"#/components/schemas/StoreResponse"},"type":"array"},{"type":"null"}],"title":"Response Read Stores Neon Neon Sp Stores Get"}}}},"404":{"description":"Not found"}}}},"/neon/sp/motivos":{"get":{"tags":["neon","sp","motivos"],"summary":"Read Motivos Neon","description":"Get all available motivos (backwards compatibility endpoint)","operationId":"read_motivos_neon_neon_sp_motivos_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MotivoResponse"},"type":"array","title":"Response Read Motivos Neon Neon Sp Motivos Get"}}}},"404":{"description":"Not found"}}}},"/neon/armarios/loja/{loja}":{"get":{"tags":["neon","armarios"],"summary":"Get Armarios By Store Neon","description":"Get all armarios for a specific store (backwards compatibility endpoint)","operationId":"get_armarios_by_store_neon_neon_armarios_loja__loja__get","parameters":[{"name":"loja","in":"path","required":true,"schema":{"type":"integer","description":"The store ID to filter armarios by","title":"Loja"},"description":"The store ID to filter armarios by"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ArmarioResponse"},"title":"Response Get Armarios By Store Neon Neon Armarios Loja  Loja  Get"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/neon/armarios/{numero}":{"put":{"tags":["neon","armarios"],"summary":"Update Armario Record Neon","description":"Update an existing armario (backwards compatibility endpoint)","operationId":"update_armario_record_neon_neon_armarios__numero__put","parameters":[{"name":"numero","in":"path","required":true,"schema":{"type":"integer","description":"The armario number to update","title":"Numero"},"description":"The armario number to update"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateArmarioRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArmarioResponse"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/neon/armarios/{numero}/loja/{loja}":{"delete":{"tags":["neon","armarios"],"summary":"Deactivate Armario Record Neon","description":"Deactivate a specific armario (backwards compatibility endpoint)","operationId":"deactivate_armario_record_neon_neon_armarios__numero__loja__loja__delete","parameters":[{"name":"numero","in":"path","required":true,"schema":{"type":"integer","description":"The armario number to deactivate","title":"Numero"},"description":"The armario number to deactivate"},{"name":"loja","in":"path","required":true,"schema":{"type":"integer","description":"The store ID where the armario is located","title":"Loja"},"description":"The store ID where the armario is located"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autcom/item/preco/{item_code}":{"get":{"tags":["autcom","pricing"],"summary":"Get Item Price","description":"Get item price (ITE_PREVE1) from ITEGER table by item code and store\n\nArgs:\n    item_code: The product code (ITE_CODITE) to look up\n    store_code: The store/company code (ITE_CODEMP) \n    \nReturns:\n    PriceResponse: Object containing the item code, store code, and price","operationId":"get_item_price_autcom_item_preco__item_code__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"item_code","in":"path","required":true,"schema":{"type":"string","title":"Item Code"}},{"name":"store_code","in":"query","required":true,"schema":{"type":"string","description":"Store code (ITE_CODEMP) to filter the pricing","title":"Store Code"},"description":"Store code (ITE_CODEMP) to filter the pricing"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceResponse"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autcom/listar_servicos":{"get":{"tags":["autcom","servicos"],"summary":"List Servicos","description":"Get all services from CADSER table\n\nReturns:\n    List[Servico]: List of services sorted by description","operationId":"list_servicos_autcom_listar_servicos_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Servico"},"title":"Response List Servicos Autcom Listar Servicos Get"}}}},"404":{"description":"Não encontrado"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autcom/servicos_por_loja":{"post":{"tags":["autcom","servicos"],"summary":"Get Services Count By Store Endpoint","description":"Get count of services performed by store for specific service codes on a target date\n\nArgs:\n    request: ServicesCountRequest containing validated service_codes list and date\n    \nReturns:\n    List[StoreServiceCount]: List of stores with their service counts","operationId":"get_services_count_by_store_endpoint_autcom_servicos_por_loja_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServicesCountRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreServiceCount"},"title":"Response Get Services Count By Store Endpoint Autcom Servicos Por Loja Post"}}}},"404":{"description":"Não encontrado"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autcom/placas_servicos_hoje":{"get":{"tags":["autcom","servicos"],"summary":"Get Placas Servicos Hoje","description":"Get all services for company 004 today with license plate (placa)","operationId":"get_placas_servicos_hoje_autcom_placas_servicos_hoje_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PlacaServico"},"title":"Response Get Placas Servicos Hoje Autcom Placas Servicos Hoje Get"}}}},"404":{"description":"Não encontrado"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ponto/colaboradores_hoje/{store_code}":{"get":{"tags":["ponto","timekeeping"],"summary":"Get Colaboradores Hoje","description":"Get employees with appointments today for a specific store\n\nArgs:\n    store_code (str): The store code to search for\n    \nReturns:\n    List[Dict]: List of employees with their matricula and nome","operationId":"get_colaboradores_hoje_ponto_colaboradores_hoje__store_code__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"store_code","in":"path","required":true,"schema":{"type":"string","title":"Store Code"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ponto/colaboradores_presentes/{store_code}":{"get":{"tags":["ponto","timekeeping"],"summary":"Get Colaboradores Presentes","description":"Get employees currently present (odd number of appointments) today for a specific store\n\nArgs:\n    store_code (str): The store code to search for\n    \nReturns:\n    List[Dict]: List of employees currently present with their matricula and nome","operationId":"get_colaboradores_presentes_ponto_colaboradores_presentes__store_code__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"store_code","in":"path","required":true,"schema":{"type":"string","title":"Store Code"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboards/zerados":{"get":{"tags":["dashboards"],"summary":"Get Zerados Dashboard","description":"Get zero balance items dashboard data organized by company, group, and giro level\n\nReturns:\n    ZeradosResponse: Structured data showing zero balance items organized by company code,\n                    purchase groups, and giro levels","operationId":"get_zerados_dashboard_dashboards_zerados_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZeradosResponse"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/saida-pecas/barcode/{barcode}":{"get":{"tags":["saida-pecas"],"summary":"Read Barcode Saida Pecas","description":"Get product description by barcode for saida-pecas process.\nIf product is found, returns product information.\nIf product is not found, returns two presigned S3 URLs for photo upload.\n\nArgs:\n    barcode: The product barcode to look up\n    \nReturns:\n    ProductFoundResponse: If product is found in database\n    ProductNotFoundResponse: If product is not found, includes S3 upload URLs","operationId":"read_barcode_saida_pecas_saida_pecas_barcode__barcode__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"barcode","in":"path","required":true,"schema":{"type":"string","title":"Barcode"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/saida-pecas/items":{"get":{"tags":["saida-pecas"],"summary":"Get Items","description":"Get item tracking records from Neon PostgreSQL.\n\nReturns item records created by the item tracking system.","operationId":"get_items_saida_pecas_items_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","description":"Maximum number of items to return","default":100,"title":"Limit"},"description":"Maximum number of items to return"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ItemResponse"},"title":"Response Get Items Saida Pecas Items Get"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogo/prateleira":{"post":{"tags":["catalogo"],"summary":"Get Prateleira Items","description":"Get price and stock for a list of items in a specific store.\n\nArgs:\n    request: Object containing codemp (store code) and list of items (item codes)\n    \nReturns:\n    List of objects containing item code, price and stock","operationId":"get_prateleira_items_catalogo_prateleira_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrateleiraRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PrateleiraItem"},"title":"Response Get Prateleira Items Catalogo Prateleira Post"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/commission-calculator/jobs/sync-autcom":{"post":{"tags":["commission-calculator"],"summary":"Sync Autcom","description":"Triggers employee sync from AUTCOM.","operationId":"sync_autcom_commission_calculator_jobs_sync_autcom_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/commission-calculator/jobs/calculate-commissions":{"post":{"tags":["commission-calculator"],"summary":"Calculate Commissions","description":"Triggers batch calculation for a period.","operationId":"calculate_commissions_commission_calculator_jobs_calculate_commissions_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeriodRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/commission-calculator/jobs/{job_run_id}":{"get":{"tags":["commission-calculator"],"summary":"Get Job Run","description":"Gets commission calculator job status and metrics.","operationId":"get_job_run_commission_calculator_jobs__job_run_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"job_run_id","in":"path","required":true,"schema":{"type":"string","title":"Job Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/commission-calculator/jobs/close-period":{"post":{"tags":["commission-calculator"],"summary":"Close Period","description":"Closes a commission period.","operationId":"close_period_commission_calculator_jobs_close_period_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeriodRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/commission-calculator/jobs/recalculate-employee":{"post":{"tags":["commission-calculator"],"summary":"Recalculate Employee","description":"Recalculates for a single employee.","operationId":"recalculate_employee_commission_calculator_jobs_recalculate_employee_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecalculateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/commission-calculator/sync/resolve-conflict":{"post":{"tags":["commission-calculator"],"summary":"Resolve Conflict","description":"Resolves a sync conflict.\nAction: 'accept_new', 'keep_old', 'ignore'","operationId":"resolve_conflict_commission_calculator_sync_resolve_conflict_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"conflict_id","in":"query","required":true,"schema":{"type":"integer","title":"Conflict Id"}},{"name":"action","in":"query","required":true,"schema":{"type":"string","title":"Action"}},{"name":"resolution_notes","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resolution Notes"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/commission-calculator/receipt/{id}":{"get":{"tags":["commission-calculator"],"summary":"Get Receipt","description":"Gets the commission receipt JSON.","operationId":"get_receipt_commission_calculator_receipt__id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","title":"Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/commission-calculator/employees/{employee_id}/period-metrics/{month}/{year}":{"get":{"tags":["commission-calculator"],"summary":"Get Employee Period Metrics","description":"Returns sales metrics for a specific employee in a period (26th prev month - 25th current month).\nQueries AUTCOM directly so it works for current/open periods too.","operationId":"get_employee_period_metrics_commission_calculator_employees__employee_id__period_metrics__month___year__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"employee_id","in":"path","required":true,"schema":{"type":"integer","title":"Employee Id"}},{"name":"month","in":"path","required":true,"schema":{"type":"integer","maximum":12,"minimum":1,"title":"Month"}},{"name":"year","in":"path","required":true,"schema":{"type":"integer","maximum":2100,"minimum":2000,"title":"Year"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autcom/clients/name_from_plate/{plate}":{"get":{"tags":["autcom","clients"],"summary":"Get Client By Plate","description":"Get client(s) information by vehicle plate.\n\nArgs:\n    plate: The vehicle plate to look up\n\nReturns:\n    List[ClientByPlateResponse]: List of clients associated with the plate","operationId":"get_client_by_plate_autcom_clients_name_from_plate__plate__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"plate","in":"path","required":true,"schema":{"type":"string","title":"Plate"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ClientByPlateResponse"},"title":"Response Get Client By Plate Autcom Clients Name From Plate  Plate  Get"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autcom/clients/similares_favoritos":{"post":{"tags":["autcom","clients"],"summary":"Get Similares Favoritos","description":"For a given plate and list of codites, find which similar items (by ITE_CODSIM)\nthe client has purchased in the last 5 years, grouped by the original codite.\n\nArgs:\n    request: Object with plate and list of codites\n\nReturns:\n    List[SimilarGroup]: Purchase history of similar items grouped by original codite","operationId":"get_similares_favoritos_autcom_clients_similares_favoritos_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimilaresFavoritosRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SimilarGroup"},"title":"Response Get Similares Favoritos Autcom Clients Similares Favoritos Post"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/totem/por_codigo":{"post":{"tags":["totem"],"summary":"Get Items By Codites","operationId":"get_items_by_codites_totem_por_codigo_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoditesSimilarityRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/totem/stock_all_stores":{"get":{"tags":["totem"],"summary":"Get Stock All Stores","operationId":"get_stock_all_stores_totem_stock_all_stores_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"codite","in":"query","required":true,"schema":{"type":"string","description":"Item code","title":"Codite"},"description":"Item code"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/totem/similaridade":{"get":{"tags":["totem"],"summary":"Get Items By Similarity","operationId":"get_items_by_similarity_totem_similaridade_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"cod_similaridade","in":"query","required":true,"schema":{"type":"string","description":"Similarity code","title":"Cod Similaridade"},"description":"Similarity code"},{"name":"empresa","in":"query","required":false,"schema":{"type":"string","description":"Company code","default":"001","title":"Empresa"},"description":"Company code"},{"name":"placa","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Vehicle plate — when provided, includes purchase history (compras, ultima_compra)","title":"Placa"},"description":"Vehicle plate — when provided, includes purchase history (compras, ultima_compra)"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/totem/oleo":{"get":{"tags":["totem"],"summary":"Get Oil Recommendations","operationId":"get_oil_recommendations_totem_oleo_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"placa","in":"query","required":true,"schema":{"type":"string","description":"Vehicle license plate","title":"Placa"},"description":"Vehicle license plate"},{"name":"empresa","in":"query","required":false,"schema":{"type":"string","description":"Company code","default":"001","title":"Empresa"},"description":"Company code"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/totem/filtro_oleo_motor":{"get":{"tags":["totem"],"summary":"Get Oil Filter Recommendations","operationId":"get_oil_filter_recommendations_totem_filtro_oleo_motor_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"placa","in":"query","required":true,"schema":{"type":"string","description":"Vehicle license plate","title":"Placa"},"description":"Vehicle license plate"},{"name":"empresa","in":"query","required":false,"schema":{"type":"string","description":"Company code","default":"001","title":"Empresa"},"description":"Company code"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/totem/filtro_ar_motor":{"get":{"tags":["totem"],"summary":"Get Air Filter Recommendations","operationId":"get_air_filter_recommendations_totem_filtro_ar_motor_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"placa","in":"query","required":true,"schema":{"type":"string","description":"Vehicle license plate","title":"Placa"},"description":"Vehicle license plate"},{"name":"empresa","in":"query","required":false,"schema":{"type":"string","description":"Company code","default":"001","title":"Empresa"},"description":"Company code"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/totem/filtro_cabine":{"get":{"tags":["totem"],"summary":"Get Cabin Filter Recommendations","operationId":"get_cabin_filter_recommendations_totem_filtro_cabine_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"placa","in":"query","required":true,"schema":{"type":"string","description":"Vehicle license plate","title":"Placa"},"description":"Vehicle license plate"},{"name":"empresa","in":"query","required":false,"schema":{"type":"string","description":"Company code","default":"001","title":"Empresa"},"description":"Company code"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/totem/filtro_combustivel":{"get":{"tags":["totem"],"summary":"Get Fuel Filter Recommendations","operationId":"get_fuel_filter_recommendations_totem_filtro_combustivel_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"placa","in":"query","required":true,"schema":{"type":"string","description":"Vehicle license plate","title":"Placa"},"description":"Vehicle license plate"},{"name":"empresa","in":"query","required":false,"schema":{"type":"string","description":"Company code","default":"001","title":"Empresa"},"description":"Company code"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/totem/palheta":{"get":{"tags":["totem"],"summary":"Get Wiper Blade Recommendations","operationId":"get_wiper_blade_recommendations_totem_palheta_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"placa","in":"query","required":true,"schema":{"type":"string","description":"Vehicle license plate","title":"Placa"},"description":"Vehicle license plate"},{"name":"empresa","in":"query","required":false,"schema":{"type":"string","description":"Company code","default":"001","title":"Empresa"},"description":"Company code"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/totem/por_codfab":{"post":{"tags":["totem"],"summary":"Get Items By Codfab","operationId":"get_items_by_codfab_totem_por_codfab_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodfabRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/totem/oleo_bundle":{"get":{"tags":["totem"],"summary":"Get Oil Bundle","operationId":"get_oil_bundle_totem_oleo_bundle_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"placa","in":"query","required":true,"schema":{"type":"string","description":"Vehicle license plate","title":"Placa"},"description":"Vehicle license plate"},{"name":"empresa","in":"query","required":false,"schema":{"type":"string","description":"Company code","default":"001","title":"Empresa"},"description":"Company code"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bi-gerentes/filters":{"get":{"tags":["bi-gerentes"],"summary":"Filters","operationId":"filters_api_bi_gerentes_filters_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"mode","in":"query","required":true,"schema":{"$ref":"#/components/schemas/Mode"}},{"name":"dateFrom","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Datefrom"}},{"name":"dateTo","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Dateto"}},{"name":"storeIds","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Storeids"}},{"name":"sellerIds","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sellerids"}},{"name":"returnAttribution","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ReturnAttribution"},{"type":"null"}],"title":"Returnattribution"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FiltersResponse"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bi-gerentes/dashboard":{"get":{"tags":["bi-gerentes"],"summary":"Dashboard","operationId":"dashboard_api_bi_gerentes_dashboard_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"mode","in":"query","required":true,"schema":{"$ref":"#/components/schemas/Mode"}},{"name":"dateFrom","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Datefrom"}},{"name":"dateTo","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Dateto"}},{"name":"periodType","in":"query","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/PeriodType"}],"default":"mes_inteiro","title":"Periodtype"}},{"name":"storeIds","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Storeids"}},{"name":"sellerIds","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sellerids"}},{"name":"departmentCodes","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Departmentcodes"}},{"name":"returnAttribution","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ReturnAttribution"},{"type":"null"}],"title":"Returnattribution"}},{"name":"goalBasis","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/GoalBasis"},{"type":"null"}],"title":"Goalbasis"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardResponse"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/backup/health":{"get":{"tags":["backup-sales"],"summary":"Backup Sales Health","operationId":"backup_sales_health_backup_health_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BackupSalesHealthResponse"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/backup/products/lookup":{"get":{"tags":["backup-sales"],"summary":"Lookup Product","operationId":"lookup_product_backup_products_lookup_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","minLength":1,"description":"Barcode or five-digit Citel item code","title":"Query"},"description":"Barcode or five-digit Citel item code"},{"name":"storeCode","in":"query","required":false,"schema":{"type":"string","description":"ERP company/store code used for pricing","default":"001","title":"Storecode"},"description":"ERP company/store code used for pricing"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductLookupResponse"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/backup/clients/lookup":{"get":{"tags":["backup-sales"],"summary":"Lookup Clients","operationId":"lookup_clients_backup_clients_lookup_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","minLength":1,"description":"CPF, CNPJ, or phone number","title":"Query"},"description":"CPF, CNPJ, or phone number"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientLookupResponse"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/backup/operador":{"get":{"tags":["backup-sales"],"summary":"Lookup Operator","operationId":"lookup_operator_backup_operador_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","minLength":1,"description":"Three-digit operator code or operator barcode","title":"Query"},"description":"Three-digit operator code or operator barcode"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperatorLookupResponse"}}}},"404":{"description":"Not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/":{"get":{"summary":"Root","operationId":"root__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Load Balancer Health","description":"Simple health check for load balancer with appropriate status codes.\nNo authentication required.","operationId":"load_balancer_health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/db-health":{"get":{"summary":"Detailed Health Check","description":"Check the health of the server, database connections, and VPN connection","operationId":"detailed_health_check_db_health_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"ArmarioResponse":{"properties":{"id":{"type":"integer","title":"Id"},"numero":{"type":"integer","title":"Numero"},"tipo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tipo"},"colaborador_code":{"type":"string","title":"Colaborador Code"},"colaborador_name":{"type":"string","title":"Colaborador Name"},"fiscal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fiscal Code"},"fiscal_name":{"type":"string","title":"Fiscal Name"},"loja":{"type":"integer","title":"Loja"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"ativo":{"type":"boolean","title":"Ativo"}},"type":"object","required":["id","numero","colaborador_code","colaborador_name","fiscal_name","loja","created_at","ativo"],"title":"ArmarioResponse"},"BackupSalesHealthResponse":{"properties":{"status":{"type":"string","title":"Status"},"timestamp":{"type":"string","title":"Timestamp"},"database":{"type":"string","title":"Database"}},"type":"object","required":["status","timestamp","database"],"title":"BackupSalesHealthResponse"},"BarcodeResponse":{"properties":{"code":{"type":"string","title":"Code"},"description":{"type":"string","title":"Description"}},"type":"object","required":["code","description"],"title":"BarcodeResponse"},"ClientByPlateResponse":{"properties":{"placa":{"type":"string","title":"Placa"},"codcli":{"type":"string","title":"Codcli"},"nome":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nome"},"celular":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Celular"}},"type":"object","required":["placa","codcli"],"title":"ClientByPlateResponse"},"ClientLookupResponse":{"properties":{"found":{"type":"boolean","title":"Found"},"clients":{"items":{"$ref":"#/components/schemas/ClientSnapshot"},"type":"array","title":"Clients"}},"type":"object","required":["found","clients"],"title":"ClientLookupResponse"},"ClientSnapshot":{"properties":{"clientNumber":{"type":"string","title":"Clientnumber"},"fullName":{"type":"string","title":"Fullname"},"cpfCnpj":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cpfcnpj"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"updatedAt":{"type":"string","title":"Updatedat"}},"type":"object","required":["clientNumber","fullName","updatedAt"],"title":"ClientSnapshot"},"CodfabRequest":{"properties":{"codfabs":{"items":{"type":"string"},"type":"array","title":"Codfabs"},"empresa":{"type":"string","title":"Empresa","default":"001"}},"type":"object","required":["codfabs"],"title":"CodfabRequest"},"CoditesSimilarityRequest":{"properties":{"codites":{"items":{"type":"string"},"type":"array","title":"Codites"},"empresa":{"type":"string","title":"Empresa","default":"001"}},"type":"object","required":["codites"],"title":"CoditesSimilarityRequest"},"ColaboradorCompleteResponse":{"properties":{"nome":{"type":"string","title":"Nome"},"codigo":{"type":"string","title":"Codigo"},"codigo_empresa":{"type":"string","title":"Codigo Empresa"},"departamento":{"type":"string","title":"Departamento"},"numero_matricula":{"type":"string","title":"Numero Matricula"},"funcao":{"type":"string","title":"Funcao"}},"type":"object","required":["nome","codigo","codigo_empresa","departamento","numero_matricula","funcao"],"title":"ColaboradorCompleteResponse"},"ColaboradorResponse":{"properties":{"nome":{"type":"string","title":"Nome"},"codigo_empresa":{"type":"string","title":"Codigo Empresa"},"departamento":{"type":"string","title":"Departamento"}},"type":"object","required":["nome","codigo_empresa","departamento"],"title":"ColaboradorResponse"},"CollaboratorCreate":{"properties":{"nome":{"type":"string","title":"Nome"},"numero_cracha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Numero Cracha"},"foto_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Foto Url"},"fiscal_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fiscal Name"}},"type":"object","required":["nome"],"title":"CollaboratorCreate"},"ContextDefaults":{"properties":{"mode":{"$ref":"#/components/schemas/Mode"},"returnAttribution":{"$ref":"#/components/schemas/ReturnAttribution"},"goalBasis":{"$ref":"#/components/schemas/GoalBasis"},"periodType":{"allOf":[{"$ref":"#/components/schemas/PeriodType"}],"default":"mes_inteiro"}},"type":"object","required":["mode","returnAttribution","goalBasis"],"title":"ContextDefaults"},"CreateItemRequest":{"properties":{"colaborador":{"type":"string","title":"Colaborador"},"colaboradorName":{"type":"string","title":"Colaboradorname"},"motivo":{"type":"string","title":"Motivo"},"fiscal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fiscal Code"},"fiscal_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fiscal Name"},"loja":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Loja"},"items":{"items":{"$ref":"#/components/schemas/ItemDetail"},"type":"array","title":"Items"}},"type":"object","required":["colaborador","colaboradorName","motivo","items"],"title":"CreateItemRequest"},"DashboardContext":{"properties":{"mode":{"$ref":"#/components/schemas/Mode"},"returnAttribution":{"$ref":"#/components/schemas/ReturnAttribution"},"goalBasis":{"$ref":"#/components/schemas/GoalBasis"},"periodType":{"allOf":[{"$ref":"#/components/schemas/PeriodType"}],"default":"mes_inteiro"},"dateFrom":{"type":"string","title":"Datefrom"},"dateTo":{"type":"string","title":"Dateto"},"storeIds":{"items":{"type":"string"},"type":"array","title":"Storeids"},"sellerIds":{"items":{"type":"string"},"type":"array","title":"Sellerids"},"departmentCodes":{"items":{"type":"string"},"type":"array","title":"Departmentcodes"}},"type":"object","required":["mode","returnAttribution","goalBasis","dateFrom","dateTo","storeIds","sellerIds","departmentCodes"],"title":"DashboardContext"},"DashboardResponse":{"properties":{"context":{"$ref":"#/components/schemas/DashboardContext"},"rows":{"items":{"$ref":"#/components/schemas/DashboardRow"},"type":"array","title":"Rows"},"total":{"$ref":"#/components/schemas/DashboardTotal"}},"type":"object","required":["context","rows","total"],"title":"DashboardResponse"},"DashboardRow":{"properties":{"rowKey":{"type":"string","title":"Rowkey"},"rowType":{"type":"string","title":"Rowtype"},"label":{"type":"string","title":"Label"},"store":{"anyOf":[{"$ref":"#/components/schemas/Store"},{"type":"null"}]},"salesperson":{"$ref":"#/components/schemas/Salesperson"},"department":{"anyOf":[{"$ref":"#/components/schemas/Department"},{"type":"null"}]},"goalApplies":{"type":"boolean","title":"Goalapplies"},"metrics":{"$ref":"#/components/schemas/Metrics"}},"type":"object","required":["rowKey","rowType","label","salesperson","goalApplies","metrics"],"title":"DashboardRow"},"DashboardTotal":{"properties":{"label":{"type":"string","title":"Label"},"metrics":{"$ref":"#/components/schemas/Metrics"}},"type":"object","required":["label","metrics"],"title":"DashboardTotal"},"Department":{"properties":{"code":{"type":"string","title":"Code"},"label":{"type":"string","title":"Label"},"isNullDepartment":{"type":"boolean","title":"Isnulldepartment"}},"type":"object","required":["code","label","isNullDepartment"],"title":"Department"},"ExceptionalServiceCreate":{"properties":{"empresa":{"type":"string","title":"Empresa"},"servico":{"type":"string","title":"Servico"},"data":{"type":"string","format":"date-time","title":"Data"},"autorizado_por":{"type":"string","title":"Autorizado Por"},"fiscal_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fiscal Name"},"observacoes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Observacoes"},"loja":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Loja"}},"type":"object","required":["empresa","servico","data","autorizado_por"],"title":"ExceptionalServiceCreate"},"FiltersResponse":{"properties":{"stores":{"items":{"$ref":"#/components/schemas/Store"},"type":"array","title":"Stores"},"departments":{"items":{"$ref":"#/components/schemas/Department"},"type":"array","title":"Departments"},"salespeople":{"items":{"$ref":"#/components/schemas/Salesperson"},"type":"array","title":"Salespeople"},"defaults":{"$ref":"#/components/schemas/ContextDefaults"}},"type":"object","required":["stores","departments","salespeople","defaults"],"title":"FiltersResponse"},"GoalBasis":{"type":"string","enum":["store","seller","none"],"title":"GoalBasis"},"Grupo":{"properties":{"codigo":{"type":"string","title":"Codigo"},"descricao":{"type":"string","title":"Descricao"}},"type":"object","required":["codigo","descricao"],"title":"Grupo"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"Item":{"properties":{"codigo":{"type":"string","title":"Codigo"},"descricao":{"type":"string","title":"Descricao"}},"type":"object","required":["codigo","descricao"],"title":"Item"},"ItemDetail":{"properties":{"code":{"type":"string","title":"Code"},"description":{"type":"string","title":"Description"},"s3_code_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"S3 Code Key"},"s3_product_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"S3 Product Key"}},"type":"object","required":["code","description"],"title":"ItemDetail"},"ItemDetailResponse":{"properties":{"code":{"type":"string","title":"Code"},"description":{"type":"string","title":"Description"},"returned":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Returned"},"returned_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Returned At"},"return_fiscal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Return Fiscal Code"},"return_fiscal_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Return Fiscal Name"},"s3_code_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"S3 Code Key"},"s3_product_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"S3 Product Key"}},"type":"object","required":["code","description"],"title":"ItemDetailResponse"},"ItemRecordResponse":{"properties":{"id":{"type":"integer","title":"Id"},"colaborador":{"type":"string","title":"Colaborador"},"colaboradorName":{"type":"string","title":"Colaboradorname"},"motivo":{"type":"string","title":"Motivo"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"fiscal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fiscal Code"},"fiscal_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fiscal Name"},"loja":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Loja"},"items":{"anyOf":[{"items":{"$ref":"#/components/schemas/ItemDetailResponse"},"type":"array"},{"type":"null"}],"title":"Items"},"active_items":{"anyOf":[{"items":{"$ref":"#/components/schemas/ItemDetailResponse"},"type":"array"},{"type":"null"}],"title":"Active Items"}},"type":"object","required":["id","colaborador","colaboradorName","motivo"],"title":"ItemRecordResponse"},"ItemResponse":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"code":{"type":"string","title":"Code"},"description":{"type":"string","title":"Description"},"price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price"}},"type":"object","required":["code","description"],"title":"ItemResponse"},"LegacyItemDetailResponse":{"properties":{"code":{"type":"string","title":"Code"},"description":{"type":"string","title":"Description"},"returned":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Returned"},"returned_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Returned At"},"return_fiscal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Return Fiscal Code"},"return_fiscal_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Return Fiscal Name"},"s3_code_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"S3 Code Key"},"s3_product_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"S3 Product Key"}},"type":"object","required":["code","description"],"title":"LegacyItemDetailResponse"},"LegacyItemRecordResponse":{"properties":{"id":{"type":"integer","title":"Id"},"colaborador":{"type":"string","title":"Colaborador"},"colaboradorName":{"type":"string","title":"Colaboradorname"},"motivo":{"type":"string","title":"Motivo"},"timestamp":{"type":"integer","title":"Timestamp"},"fiscal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fiscal Code"},"fiscal_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fiscal Name"},"loja":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Loja"},"items":{"anyOf":[{"items":{"$ref":"#/components/schemas/LegacyItemDetailResponse"},"type":"array"},{"type":"null"}],"title":"Items"},"active_items":{"anyOf":[{"items":{"$ref":"#/components/schemas/LegacyItemDetailResponse"},"type":"array"},{"type":"null"}],"title":"Active Items"}},"type":"object","required":["id","colaborador","colaboradorName","motivo","timestamp"],"title":"LegacyItemRecordResponse"},"Metrics":{"properties":{"soldValue":{"type":"number","title":"Soldvalue"},"projectedSalesValue":{"type":"number","title":"Projectedsalesvalue"},"goalValue":{"type":"number","title":"Goalvalue"},"remainingGoalValue":{"type":"number","title":"Remaininggoalvalue"},"remainingGoalPercent":{"type":"number","title":"Remaininggoalpercent"},"trailingThreeMonthAverage":{"type":"number","title":"Trailingthreemonthaverage","default":0},"marginPercent":{"type":"number","title":"Marginpercent","default":0},"marginGoalPercent":{"type":"number","title":"Margingoalpercent","default":43},"averageTicket":{"type":"number","title":"Averageticket","default":0},"averageTicketGoal":{"type":"number","title":"Averageticketgoal","default":110},"itemsPerDocument":{"type":"number","title":"Itemsperdocument","default":0},"itemsPerDocumentGoal":{"type":"number","title":"Itemsperdocumentgoal","default":3},"soldItemsQuantity":{"type":"number","title":"Solditemsquantity","default":0},"returnedItemsQuantity":{"type":"number","title":"Returneditemsquantity","default":0},"returnedItemsPercent":{"type":"number","title":"Returneditemspercent","default":0},"returnedItemsGoalPercent":{"type":"number","title":"Returneditemsgoalpercent","default":2.6},"returnValue":{"type":"number","title":"Returnvalue"},"serviceSalesValue":{"type":"number","title":"Servicesalesvalue","default":0},"projectedServiceSalesValue":{"type":"number","title":"Projectedservicesalesvalue","default":0},"documentsQuantity":{"type":"number","title":"Documentsquantity","default":0},"projectedDocumentsQuantity":{"type":"number","title":"Projecteddocumentsquantity","default":0}},"type":"object","required":["soldValue","projectedSalesValue","goalValue","remainingGoalValue","remainingGoalPercent","returnValue"],"title":"Metrics"},"Mode":{"type":"string","enum":["store","salesperson"],"title":"Mode"},"MotivoResponse":{"properties":{"id":{"type":"integer","title":"Id"},"description":{"type":"string","title":"Description"}},"type":"object","required":["id","description"],"title":"MotivoResponse"},"OcorrenciaCreate":{"properties":{"topic_id":{"type":"integer","title":"Topic Id"},"fiscal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fiscal Code"},"descricao":{"type":"string","title":"Descricao"},"loja":{"type":"integer","title":"Loja"},"fiscal_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fiscal Name"}},"type":"object","required":["topic_id","descricao","loja"],"title":"OcorrenciaCreate"},"OperatorLookupResponse":{"properties":{"found":{"type":"boolean","title":"Found"},"operator":{"anyOf":[{"$ref":"#/components/schemas/OperatorSnapshot"},{"type":"null"}]}},"type":"object","required":["found"],"title":"OperatorLookupResponse"},"OperatorSnapshot":{"properties":{"operatorCode":{"type":"string","title":"Operatorcode"},"fullName":{"type":"string","title":"Fullname"},"storeCode":{"type":"string","title":"Storecode"},"department":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Department"},"barcode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Barcode"},"active":{"type":"boolean","title":"Active"},"updatedAt":{"type":"string","title":"Updatedat"}},"type":"object","required":["operatorCode","fullName","storeCode","active","updatedAt"],"title":"OperatorSnapshot"},"PeriodRequest":{"properties":{"month":{"type":"integer","title":"Month"},"year":{"type":"integer","title":"Year"},"store_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Store Id"}},"type":"object","required":["month","year"],"title":"PeriodRequest"},"PeriodType":{"type":"string","enum":["mes_inteiro","mes_meta","personalizado"],"title":"PeriodType"},"PlacaServico":{"properties":{"CompanyCode":{"type":"string","title":"Companycode"},"DocumentNumber":{"type":"string","title":"Documentnumber"},"DocumentDate":{"type":"string","format":"date","title":"Documentdate"},"DocumentTime":{"anyOf":[{"type":"string","format":"duration"},{"type":"string"}],"title":"Documenttime"},"ClientCode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clientcode"},"ClientName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clientname"},"Placa":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Placa"},"ServiceSlot":{"type":"string","title":"Serviceslot"},"ServiceCode":{"type":"string","title":"Servicecode"},"ServiceDescription":{"type":"string","title":"Servicedescription"}},"type":"object","required":["CompanyCode","DocumentNumber","DocumentDate","DocumentTime","ServiceSlot","ServiceCode","ServiceDescription"],"title":"PlacaServico"},"PrateleiraItem":{"properties":{"codite":{"type":"string","title":"Codite"},"price":{"type":"number","title":"Price"},"promotional_price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Promotional Price"},"estoque_disponivel":{"type":"number","title":"Estoque Disponivel"},"local":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Local"}},"type":"object","required":["codite","price","estoque_disponivel"],"title":"PrateleiraItem"},"PrateleiraRequest":{"properties":{"codemp":{"type":"string","title":"Codemp"},"items":{"items":{"type":"string"},"type":"array","title":"Items"}},"type":"object","required":["codemp","items"],"title":"PrateleiraRequest"},"PriceResponse":{"properties":{"item_code":{"type":"string","title":"Item Code"},"store_code":{"type":"string","title":"Store Code"},"price":{"type":"number","title":"Price"},"item_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Item Description"}},"type":"object","required":["item_code","store_code","price"],"title":"PriceResponse"},"ProductLookupResponse":{"properties":{"found":{"type":"boolean","title":"Found"},"product":{"anyOf":[{"$ref":"#/components/schemas/ProductSnapshot"},{"type":"null"}]}},"type":"object","required":["found"],"title":"ProductLookupResponse"},"ProductSnapshot":{"properties":{"citelCode":{"type":"string","title":"Citelcode"},"barcode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Barcode"},"description":{"type":"string","title":"Description"},"unit":{"type":"string","title":"Unit"},"basePrice":{"type":"number","title":"Baseprice"},"finalPrice":{"type":"number","title":"Finalprice"},"hasActivePromotion":{"type":"boolean","title":"Hasactivepromotion"},"promotion":{"anyOf":[{"$ref":"#/components/schemas/Promotion"},{"type":"null"}]},"active":{"type":"boolean","title":"Active"},"updatedAt":{"type":"string","title":"Updatedat"}},"type":"object","required":["citelCode","description","unit","basePrice","finalPrice","hasActivePromotion","active","updatedAt"],"title":"ProductSnapshot"},"Promotion":{"properties":{"id":{"type":"string","title":"Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"price":{"type":"number","title":"Price"},"startsAt":{"type":"string","title":"Startsat"},"endsAt":{"type":"string","title":"Endsat"}},"type":"object","required":["id","price","startsAt","endsAt"],"title":"Promotion"},"RecalculateRequest":{"properties":{"month":{"type":"integer","title":"Month"},"year":{"type":"integer","title":"Year"},"employee_id":{"type":"integer","title":"Employee Id"}},"type":"object","required":["month","year","employee_id"],"title":"RecalculateRequest"},"ReturnAttribution":{"type":"string","enum":["movement","original_sale"],"title":"ReturnAttribution"},"ReturnItemsRequest":{"properties":{"returnedItems":{"items":{"type":"string"},"type":"array","title":"Returneditems"},"fiscal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fiscal Code"},"fiscal_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fiscal Name"}},"type":"object","required":["returnedItems"],"title":"ReturnItemsRequest"},"SaidaAvulsaClose":{"properties":{"data_final":{"type":"string","format":"date","title":"Data Final"},"horario_end":{"type":"string","format":"time","title":"Horario End"},"end_fiscal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Fiscal Code"},"end_fiscal_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Fiscal Name"}},"type":"object","required":["data_final","horario_end"],"title":"SaidaAvulsaClose"},"SaidaAvulsaCreate":{"properties":{"operador_code":{"type":"string","title":"Operador Code"},"data_inicio":{"type":"string","format":"date","title":"Data Inicio"},"horario_start":{"type":"string","format":"time","title":"Horario Start"},"loja_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Loja Number"},"start_fiscal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Fiscal Code"},"start_fiscal_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Fiscal Name"},"motivo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Motivo"}},"type":"object","required":["operador_code","data_inicio","horario_start"],"title":"SaidaAvulsaCreate"},"Salesperson":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"homeStoreId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Homestoreid"},"departmentCode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Departmentcode"}},"type":"object","required":["id","name"],"title":"Salesperson"},"ServicesCountRequest":{"properties":{"service_codes":{"items":{"type":"string"},"type":"array","title":"Service Codes"},"date":{"type":"string","title":"Date"}},"type":"object","required":["service_codes","date"],"title":"ServicesCountRequest"},"Servico":{"properties":{"codigo":{"type":"string","title":"Codigo"},"descricao":{"type":"string","title":"Descricao"}},"type":"object","required":["codigo","descricao"],"title":"Servico"},"SimilarGroup":{"properties":{"codite_original":{"type":"string","title":"Codite Original"},"codsim":{"type":"string","title":"Codsim"},"items":{"items":{"$ref":"#/components/schemas/SimilarItem"},"type":"array","title":"Items"}},"type":"object","required":["codite_original","codsim","items"],"title":"SimilarGroup"},"SimilarItem":{"properties":{"codite":{"type":"string","title":"Codite"},"desite":{"type":"string","title":"Desite"},"num_compras":{"type":"integer","title":"Num Compras"},"ultima_compra":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Ultima Compra"}},"type":"object","required":["codite","desite","num_compras"],"title":"SimilarItem"},"SimilaresFavoritosRequest":{"properties":{"plate":{"type":"string","title":"Plate"},"codites":{"items":{"type":"string"},"type":"array","title":"Codites"}},"type":"object","required":["plate","codites"],"title":"SimilaresFavoritosRequest"},"Store":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"Store"},"StoreResponse":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"address":{"type":"string","title":"Address"}},"type":"object","required":["id","name","address"],"title":"StoreResponse"},"StoreServiceCount":{"properties":{"store_code":{"type":"string","title":"Store Code"},"total_services_count":{"type":"integer","title":"Total Services Count"}},"type":"object","required":["store_code","total_services_count"],"title":"StoreServiceCount"},"StoreVendaData":{"properties":{"store_code":{"type":"string","title":"Store Code"},"sales_a":{"type":"integer","title":"Sales A"},"sales_b":{"type":"integer","title":"Sales B"},"sales_a_with_b":{"type":"integer","title":"Sales A With B"}},"type":"object","required":["store_code","sales_a","sales_b","sales_a_with_b"],"title":"StoreVendaData"},"StoreVendaDiaData":{"properties":{"store_code":{"type":"string","title":"Store Code"},"sales":{"type":"integer","title":"Sales"}},"type":"object","required":["store_code","sales"],"title":"StoreVendaDiaData"},"StoreVendaMultiplaData":{"properties":{"store_code":{"type":"string","title":"Store Code"},"sales_a":{"type":"integer","title":"Sales A"},"sales_a_with_b1":{"type":"integer","title":"Sales A With B1","default":0},"sales_a_with_b2":{"type":"integer","title":"Sales A With B2","default":0},"sales_a_with_b3":{"type":"integer","title":"Sales A With B3","default":0},"sales_a_with_b4":{"type":"integer","title":"Sales A With B4","default":0},"sales_a_with_b5":{"type":"integer","title":"Sales A With B5","default":0},"sales_a_with_b6":{"type":"integer","title":"Sales A With B6","default":0},"sales_a_with_b7":{"type":"integer","title":"Sales A With B7","default":0},"sales_a_with_b8":{"type":"integer","title":"Sales A With B8","default":0},"sales_a_with_b9":{"type":"integer","title":"Sales A With B9","default":0},"sales_a_with_b10":{"type":"integer","title":"Sales A With B10","default":0},"sales_a_with_b11":{"type":"integer","title":"Sales A With B11","default":0},"sales_a_with_b12":{"type":"integer","title":"Sales A With B12","default":0},"sales_a_with_b13":{"type":"integer","title":"Sales A With B13","default":0},"sales_a_with_b14":{"type":"integer","title":"Sales A With B14","default":0},"sales_a_with_b15":{"type":"integer","title":"Sales A With B15","default":0},"sales_a_with_b16":{"type":"integer","title":"Sales A With B16","default":0},"sales_a_with_b17":{"type":"integer","title":"Sales A With B17","default":0},"sales_a_with_b18":{"type":"integer","title":"Sales A With B18","default":0},"sales_a_with_b19":{"type":"integer","title":"Sales A With B19","default":0},"sales_a_with_b20":{"type":"integer","title":"Sales A With B20","default":0},"sales_a_without_any_b":{"type":"integer","title":"Sales A Without Any B","default":0}},"type":"object","required":["store_code","sales_a"],"title":"StoreVendaMultiplaData"},"UpdateArmarioRequest":{"properties":{"colaborador_code":{"type":"string","maxLength":3,"minLength":3,"title":"Colaborador Code"},"fiscal_code":{"anyOf":[{"type":"string","maxLength":3,"minLength":3},{"type":"null"}],"title":"Fiscal Code"},"fiscal_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fiscal Name"},"loja":{"type":"integer","title":"Loja"},"tipo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tipo","description":"Tipo do armário: Feminino, Masculino, ou Celular"}},"type":"object","required":["colaborador_code","loja"],"title":"UpdateArmarioRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VendaAgregadaMultiplaRequest":{"properties":{"item_codes_a":{"items":{"type":"string"},"type":"array","title":"Item Codes A"},"item_codes_b1":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Item Codes B1"},"item_codes_b2":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Item Codes B2"},"item_codes_b3":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Item Codes B3"},"item_codes_b4":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Item Codes B4"},"item_codes_b5":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Item Codes B5"},"item_codes_b6":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Item Codes B6"},"item_codes_b7":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Item Codes B7"},"item_codes_b8":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Item Codes B8"},"item_codes_b9":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Item Codes B9"},"item_codes_b10":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Item Codes B10"},"item_codes_b11":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Item Codes B11"},"item_codes_b12":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Item Codes B12"},"item_codes_b13":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Item Codes B13"},"item_codes_b14":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Item Codes B14"},"item_codes_b15":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Item Codes B15"},"item_codes_b16":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Item Codes B16"},"item_codes_b17":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Item Codes B17"},"item_codes_b18":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Item Codes B18"},"item_codes_b19":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Item Codes B19"},"item_codes_b20":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Item Codes B20"},"date":{"type":"string","title":"Date"},"min_units_a":{"type":"number","title":"Min Units A","default":1.0},"min_units_b":{"type":"number","title":"Min Units B","default":1.0},"store_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Code"}},"type":"object","required":["item_codes_a","date"],"title":"VendaAgregadaMultiplaRequest"},"VendaAgregadaMultiplaResponse":{"properties":{"stores":{"items":{"$ref":"#/components/schemas/StoreVendaMultiplaData"},"type":"array","title":"Stores"},"total_sales_a":{"type":"integer","title":"Total Sales A"},"total_sales_a_with_b1":{"type":"integer","title":"Total Sales A With B1","default":0},"total_sales_a_with_b2":{"type":"integer","title":"Total Sales A With B2","default":0},"total_sales_a_with_b3":{"type":"integer","title":"Total Sales A With B3","default":0},"total_sales_a_with_b4":{"type":"integer","title":"Total Sales A With B4","default":0},"total_sales_a_with_b5":{"type":"integer","title":"Total Sales A With B5","default":0},"total_sales_a_with_b6":{"type":"integer","title":"Total Sales A With B6","default":0},"total_sales_a_with_b7":{"type":"integer","title":"Total Sales A With B7","default":0},"total_sales_a_with_b8":{"type":"integer","title":"Total Sales A With B8","default":0},"total_sales_a_with_b9":{"type":"integer","title":"Total Sales A With B9","default":0},"total_sales_a_with_b10":{"type":"integer","title":"Total Sales A With B10","default":0},"total_sales_a_with_b11":{"type":"integer","title":"Total Sales A With B11","default":0},"total_sales_a_with_b12":{"type":"integer","title":"Total Sales A With B12","default":0},"total_sales_a_with_b13":{"type":"integer","title":"Total Sales A With B13","default":0},"total_sales_a_with_b14":{"type":"integer","title":"Total Sales A With B14","default":0},"total_sales_a_with_b15":{"type":"integer","title":"Total Sales A With B15","default":0},"total_sales_a_with_b16":{"type":"integer","title":"Total Sales A With B16","default":0},"total_sales_a_with_b17":{"type":"integer","title":"Total Sales A With B17","default":0},"total_sales_a_with_b18":{"type":"integer","title":"Total Sales A With B18","default":0},"total_sales_a_with_b19":{"type":"integer","title":"Total Sales A With B19","default":0},"total_sales_a_with_b20":{"type":"integer","title":"Total Sales A With B20","default":0},"total_sales_a_without_any_b":{"type":"integer","title":"Total Sales A Without Any B","default":0},"date":{"type":"string","title":"Date"}},"type":"object","required":["stores","total_sales_a","date"],"title":"VendaAgregadaMultiplaResponse"},"VendaAgregadaRequest":{"properties":{"item_codes_a":{"items":{"type":"string"},"type":"array","title":"Item Codes A"},"item_codes_b":{"items":{"type":"string"},"type":"array","title":"Item Codes B"},"date":{"type":"string","title":"Date"},"min_units_a":{"type":"number","title":"Min Units A","default":1.0},"min_units_b":{"type":"number","title":"Min Units B","default":1.0},"store_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Code"}},"type":"object","required":["item_codes_a","item_codes_b","date"],"title":"VendaAgregadaRequest"},"VendaAgregadaResponse":{"properties":{"stores":{"items":{"$ref":"#/components/schemas/StoreVendaData"},"type":"array","title":"Stores"},"total_sales_a":{"type":"integer","title":"Total Sales A"},"total_sales_b":{"type":"integer","title":"Total Sales B"},"total_sales_a_with_b":{"type":"integer","title":"Total Sales A With B"},"date":{"type":"string","title":"Date"}},"type":"object","required":["stores","total_sales_a","total_sales_b","total_sales_a_with_b","date"],"title":"VendaAgregadaResponse"},"VendaDiaRequest":{"properties":{"item_code":{"type":"string","title":"Item Code"},"date":{"type":"string","title":"Date"},"min_units":{"type":"number","title":"Min Units","default":1.0},"store_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Code"}},"type":"object","required":["item_code","date"],"title":"VendaDiaRequest"},"VendaDiaResponse":{"properties":{"stores":{"items":{"$ref":"#/components/schemas/StoreVendaDiaData"},"type":"array","title":"Stores"},"total_sales":{"type":"integer","title":"Total Sales"},"date":{"type":"string","title":"Date"}},"type":"object","required":["stores","total_sales","date"],"title":"VendaDiaResponse"},"VendaHorariaLojaItem":{"properties":{"store_id":{"type":"string","title":"Store Id"},"inicio_hora":{"type":"string","title":"Inicio Hora"},"ticket_count":{"type":"integer","title":"Ticket Count"},"gross_revenue":{"type":"number","title":"Gross Revenue"}},"type":"object","required":["store_id","inicio_hora","ticket_count","gross_revenue"],"title":"VendaHorariaLojaItem"},"VendaHorariaLojaRequest":{"properties":{"data_inicio":{"type":"string","title":"Data Inicio"},"data_fim":{"type":"string","title":"Data Fim"},"store_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Store Ids"},"day_filter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Day Filter","default":"all"}},"type":"object","required":["data_inicio","data_fim"],"title":"VendaHorariaLojaRequest"},"ZeradosGroup":{"properties":{"grupo_compra":{"type":"string","title":"Grupo Compra"},"grupo_compra_code":{"type":"string","title":"Grupo Compra Code"},"items_by_level":{"items":{"$ref":"#/components/schemas/ZeradosItemLevel"},"type":"array","title":"Items By Level"}},"type":"object","required":["grupo_compra","grupo_compra_code","items_by_level"],"title":"ZeradosGroup"},"ZeradosItemLevel":{"properties":{"nivel_giro":{"type":"string","title":"Nivel Giro"},"total_items":{"type":"integer","title":"Total Items"}},"type":"object","required":["nivel_giro","total_items"],"title":"ZeradosItemLevel"},"ZeradosResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"data":{"additionalProperties":{"additionalProperties":{"items":{"$ref":"#/components/schemas/ZeradosGroup"},"type":"array"},"type":"object"},"type":"object","title":"Data"},"timestamp":{"type":"string","title":"Timestamp"}},"type":"object","required":["success","data","timestamp"],"title":"ZeradosResponse"}},"securitySchemes":{"APIKeyHeader":{"type":"apiKey","in":"header","name":"X-API-Key"}}}}