# BPJS Services Configuration
global:
  module_name: "api-service"
  output_dir: "internal/handlers"
  enable_swagger: true
  enable_logging: true

services:
  vclaim:
    name: "VClaim"
    category: "vclaim"
    package: "vclaim"
    description: "BPJS VClaim service for eligibility and SEP management"
    base_url: "https://apijkn.bpjs-kesehatan.go.id/vclaim-rest"
    timeout: 30
    retry_count: 3
    endpoints:
      peserta:
        bynokartu:
          methods: ["GET"]
          get_path: "/peserta/:nokartu"
          model: "PesertaRequest"
          response_model: "PesertaResponse"
          description: "Get participant eligibility information by card number"
          summary: "Get Participant Info by No Kartu"
          tags: ["vclaim", "peserta", "nokartu"]
          cache_enabled: true
          cache_ttl: 300
        bynik:
          methods: ["GET"]
          get_path: "/peserta/nik/:nik"
          model: "PesertaRequest"
          response_model: "PesertaResponse"
          description: "Get participant eligibility information by NIK"
          summary: "Get Participant Info by NIK"
          tags: ["vclaim", "peserta", "nik"]
          cache_enabled: true
          cache_ttl: 300
      sep:
        sep:
          methods: ["GET", "POST", "PUT", "DELETE"]
          get_path: "/sep/:nosep"
          post_path: "/sep"
          put_path: "/sep/:nosep"
          delete_path: "/sep/:nosep"
          model: "SepRequest"
          response_model: "SepResponse"
          description: "Manage SEP (Surat Eligibilitas Peserta)"
          summary: "SEP Management"
          tags: ["vclaim", "sep"]
          cache_enabled: true
          cache_ttl: 180
