{"openapi":"3.0.3","info":{"title":"Account Maintenance Subagent API","description":"OpenAPI interface for processing HID flow intent routing matrix and account feature management.","version":"1.0.0"},"servers":[{"url":"https://api.telecom.enterprise/v1","description":"Production Gateway Server"}],"paths":{"/account/maintenance/evaluate-hid":{"post":{"summary":"Process HID flow intent matrix and return parameter updates","description":"Evaluates the current session state and intent_name against the HID decision matrix.","operationId":"evaluateHidRouting","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HidRoutingRequest"}}}},"responses":{"200":{"description":"Routing parameters updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HidRoutingResponse"}}}},"400":{"description":"Invalid session parameters payload"}}}},"/account/features/modify":{"post":{"summary":"Add, remove, or query account maintenance features","description":"Service endpoint to manage account add-ons such as Inside Wire Maintenance or Call Waiting.","operationId":"modifyAccountFeature","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureModificationRequest"}}}},"responses":{"200":{"description":"Feature operation completed successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureModificationResponse"}}}},"401":{"description":"Authentication required before modifying account features"}}}}},"components":{"schemas":{"HidRoutingRequest":{"type":"object","required":["intent_name"],"properties":{"intent_name":{"type":"string","example":"AccountGeneral","enum":["AccountGeneral","AccountGeneralContract","AccountProblem","ChangeAccountInfo","ChangeService","ChangePhone","ChangeEmail","ChangeMTN","CreateAccount","Registration","LoginGeneral","LoginProblem","SecurityQuestion","VoiceprintDeenroll","AccountRenew","AccountChanges","ChangePassword","ChangePhoneNumber","FIOSAccount","AccountNumber","DifferentAccount","SNPAccount"]},"Reached_HID_Flow":{"type":"string","example":"N","default":"N"},"activity_code":{"type":"string","example":"START"},"CCAIRetParams":{"type":"string","example":"session.params.CCAIRetParams;CCAIHeadIntent=session.params.intent_name"}}},"HidRoutingResponse":{"type":"object","properties":{"Reached_HID_Flow":{"type":"string","example":"Y"},"activity_code":{"type":"string","example":"START~CCAI_HID_Intent~ZZ_ACTGRL"},"CCAITopic":{"type":"string","example":"OrderAddLine"},"action_name":{"type":"string","example":"AccountNumber"},"intent_name":{"type":"string","example":"AccountNumber"},"CCAI_OD_Module":{"type":"string","example":"DM_1030b_ScreeningWelcome_TnOrAcctNum"},"CCAIRetParams":{"type":"string","example":"session.params.CCAIRetParams;Module=DifferentAccount"},"CtvpCallerType":{"type":"string","example":"Dynamic"},"CtvpCallType":{"type":"string","example":"Tech"},"target_page_id":{"type":"string","example":"d3d84603-c6d2-4584-8604-623b8037b75f"},"target_flow_name":{"type":"string","example":"Target Flow (AccountNumber)"},"target_flow_id":{"type":"string","example":"ae52b60b-f48f-45e3-8fa2-f7d0d6a3da13"}}},"FeatureModificationRequest":{"type":"object","required":["account_id","feature_name","action"],"properties":{"account_id":{"type":"string","example":"954820194"},"feature_name":{"type":"string","example":"Inside Wire Maintenance"},"action":{"type":"string","enum":["REMOVE","ADD","INQUIRE"],"example":"REMOVE"}}},"FeatureModificationResponse":{"type":"object","properties":{"status":{"type":"string","example":"SUCCESS"},"reference_id":{"type":"string","example":"REF-88492041"},"activity_code":{"type":"string","example":"ZZ_MODIFIED"}}}}}}