[{"data":1,"prerenderedAt":308},["ShallowReactive",2],{"navigation":3,"\u002Fchangelog":43,"\u002Fchangelog-surround":304},[4,8,13,18,23,28,33,38],{"title":5,"path":6,"stem":7},"Getting started","\u002F","index",{"title":9,"path":10,"stem":11,"order":12},"Numbers","\u002Fnumbers","numbers",1,{"title":14,"path":15,"stem":16,"order":17},"Rent","\u002Frent","rent",2,{"title":19,"path":20,"stem":21,"order":22},"User","\u002Fuser","user",3,{"title":24,"path":25,"stem":26,"order":27},"Free numbers","\u002Ffree","free",4,{"title":29,"path":30,"stem":31,"order":32},"Webhooks","\u002Fwebhooks","webhooks",5,{"title":34,"path":35,"stem":36,"order":37},"Testing","\u002Ftesting","testing",6,{"title":39,"path":40,"stem":41,"order":42},"Changelog","\u002Fchangelog","changelog",7,{"id":44,"title":39,"body":45,"description":298,"extension":299,"meta":300,"navigation":301,"path":40,"seo":302,"stem":41,"__hash__":303},"docs\u002Fchangelog.md",{"type":46,"value":47,"toc":292},"minimark",[48,60,65,139,143,153,157,160],[49,50,51,52,59],"p",{},"The full history is in ",[53,54,58],"a",{"href":55,"rel":56},"https:\u002F\u002Fgithub.com\u002Fs00d\u002Fonlinesim-php-api\u002Fblob\u002Fmaster\u002FCHANGELOG.md",[57],"nofollow","CHANGELOG.md",".",[61,62,64],"h2",{"id":63},"_211","2.1.1",[66,67,68,108,124],"ul",{},[69,70,71,72,76,77,80,81,84,85,6,88,91,92,84,95,97,98,84,100,103,104,107],"li",{},"Fixed against the current API: ",[73,74,75],"code",{},"waitCode"," no longer fails on an operation without ",[73,78,79],{},"response","; PHPStan types of ",[73,82,83],{},"Profile"," ",[73,86,87],{},"number",[73,89,90],{},"country",", optional ",[73,93,94],{},"Operation",[73,96,79],{},", rent SMS ",[73,99,73],{},[73,101,102],{},"0"," for ",[73,105,106],{},"notify"," SMS, nullable free-list and payment fields.",[69,109,110,112,113,116,117,120,121,59],{},[73,111,75],{}," retries ",[73,114,115],{},"TRY_AGAIN_LATER"," (rate limit), ",[73,118,119],{},"ERROR_UNDEFINED"," and ",[73,122,123],{},"INTERVAL_CONCURRENT_REQUESTS_ERROR",[69,125,126,129,130,120,133,136,137,59],{},[73,127,128],{},"MockOnlineSim"," follows the backend more closely: rent reservation and confirmation, ",[73,131,132],{},"setOperationRevise",[73,134,135],{},"closeRentNum"," answers, missing vs wrong key — see ",[53,138,34],{"href":35},[61,140,142],{"id":141},"_210","2.1.0",[66,144,145],{},[69,146,147,148,150,151,59],{},"New: ",[73,149,128],{},", an offline fake of the API for your tests — see ",[53,152,34],{"href":35},[61,154,156],{"id":155},"_200","2.0.0",[49,158,159],{},"A rewrite with a new API; 1.x code does not run unchanged.",[66,161,162,182,189,196,216,229,239,258],{},[69,163,164,165,168,169,172,173,172,176,172,179,59],{},"One client, ",[73,166,167],{},"new OnlineSim(apiKey: …)",", with the sections as properties: ",[73,170,171],{},"$client->numbers",", ",[73,174,175],{},"$client->rent",[73,177,178],{},"$client->user",[73,180,181],{},"$client->free",[69,183,184,185,188],{},"PHP 8.1+, ext-curl behind a small ",[73,186,187],{},"Transport"," interface, no runtime dependencies.",[69,190,191,192,195],{},"The key is sent as a Bearer header, never in the URL; ",[73,193,194],{},"lang"," is sent; the base URL is configurable.",[69,197,198,199,202,203,206,207,172,210,172,213,59],{},"Typed errors: ",[73,200,201],{},"ApiError"," (",[73,204,205],{},"errorCode","), ",[73,208,209],{},"NoNumberError",[73,211,212],{},"TransportError",[73,214,215],{},"TimeoutError",[69,217,218,219,222,223,120,226,59],{},"Results are arrays with PHPStan shapes instead of response classes; ",[73,220,221],{},"tariffs($country)"," is split into ",[73,224,225],{},"tariffs()",[73,227,228],{},"tariffsOne($country)",[69,230,231,234,235,238],{},[73,232,233],{},"rent->get"," creates extendable rents by default (",[73,236,237],{},"extension: true",").",[69,240,147,241,244,245,248,249,248,252,172,255,59],{},[73,242,243],{},"numbers->waitCode"," (poll until the SMS code, then close), ",[73,246,247],{},"user->setWebhookUrl"," \u002F ",[73,250,251],{},"clearWebhookUrl",[73,253,254],{},"webhookLogs",[73,256,257],{},"parseWebhook",[69,259,260,261,172,264,172,267,172,270,172,273,248,276,248,278,281,282,206,285,248,288,291],{},"Removed: the proxy API, ",[73,262,263],{},"numbers->repeat",[73,265,266],{},"numbers->service",[73,268,269],{},"numbers->serviceNumber",[73,271,272],{},"rent->portReload",[73,274,275],{},"free->countries",[73,277,11],{},[73,279,280],{},"messages"," (use ",[73,283,284],{},"free->list",[73,286,287],{},"init()",[73,289,290],{},"user->me()",", the response classes.",{"title":293,"searchDepth":17,"depth":17,"links":294},"",[295,296,297],{"id":63,"depth":17,"text":64},{"id":141,"depth":17,"text":142},{"id":155,"depth":17,"text":156},"Release notes of onlinesim-php-api.","md",{},{"order":42},{"title":39,"description":298},"MdNltIPcECrfbA47LaSDV4vx8CIdHZfY9sJH3VDtMJM",[305,306],null,{"title":24,"path":25,"stem":26,"description":307,"order":27},"Public numbers and their SMS — $client->free. No API key needed.",1795164122570]