Repository navigation
fix: align with the regenerated API spec (3.1.1) - #21
Merged
Merged
Conversation
- wait_code: no KeyError on a getState operation without `response`; retries ApiError TRY_AGAIN_LATER / ERROR_UNDEFINED / INTERVAL_CONCURRENT_REQUESTS_ERROR until the deadline. - Types: Profile number int|None, country str|None; Operation.response optional; RentSms.code str|int (0 for notify, kept as sent); nullable free-list and payment-order fields; paylist kept when sent as a JSON array. - Error table: add "0", ACCOUNT_CLEANED, USER_NOT_ACTIVATED, ERROR_UNDEFINED, FORWARD_NOT_SUPPORTED; drop dead codes; NoNumberError only for NO_NUMBER. - MockOnlineSim mirrors the JS reference: revise/ok tzid rules, missing vs wrong key, rent reservation/confirmation, sum types, extend/close rules, webhook-log params, any scheme:// URL, payment forms/buttons, free list 44-first, count clamp, ISO created_at, ignore/content. - Docs, CHANGELOG, version 3.1.1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
wait_code: noKeyErroron a getState operation withoutresponse(keeps polling); retriesApiErrorTRY_AGAIN_LATER(HTTP 429),ERROR_UNDEFINED,INTERVAL_CONCURRENT_REQUESTS_ERRORuntil the deadline.Profilenumberint | None/countrystr | None(were swapped);Operation["response"]optional;RentSms["code"]str | int(integer0for anotifySMS, kept as sent); nullablecountry_text/country_original,PaymentOrdercurrency/form_text;paylistkept when it arrives as a JSON array; rentsumnumber or decimal string."0",ACCOUNT_CLEANED,USER_NOT_ACTIVATED,ERROR_UNDEFINED,FORWARD_NOT_SUPPORTEDadded;ERROR_NO_KEY,NO_NUMBER_FOR_FORWARD,ACCOUNT_IDENTIFICATION_REQUIRED,API_DISABLEDdropped;NoNumberErroronly forNO_NUMBER; HTTP 429 test.MockOnlineSimmirrors the JS reference (MOCK.md): setOperationRevise/setOperationOk tzid rules, missing vs wrong key, getNum+number fields, rent reservation/confirmation,sumtypes, extend/close rules, webhook-log params, anyscheme://URL, paymentforms/buttons, getFreeList 44-first / count clamp / ISOcreated_at/ignore/content.Proposed version: 3.1.1 (patch). Not released.
🤖 Generated with Claude Code