10 Commits

Author SHA1 Message Date
Kabir Oberai
b5d49a63cf Improve OpenAPI error handling (#78)
- Make some enums non-exhaustive (closes #77)
  - Also a tentative fix for #62 and #64
- Improve logging on deserialization failure

We now use raw JS to patch the OpenAPI spec instead of openapi-overlay.
It's a lot more flexible this way.
2025-05-23 19:05:02 +05:30
Kabir Oberai
cd3d72c6b7 OpenAPI spec tweaks (#76)
- Add `BundleIdPlatform.macos` (potential fix for #64)
- Fix deprecation warnings
- Improve overlay organization
2025-05-22 22:37:47 +05:30
Kabir Oberai
2265449730 Support for logging OpenAPI responses (#75)
Allow setting `XTL_DEV_LOG` to a regex (e.g. `export
XTL_DEV_LOG='profiles_.*'`) to log the responses of all matching
operations

Also add `BundleIdPlatform.services` as seen
[here](60bbc198c8/Makefile (L9))
2025-05-22 22:03:37 +05:30
Kabir Oberai
17d3d1019b Improve handling of paid developer accounts (#20)
* getTeamIsFree -> XcodeAuthData.team().isFree

* Only revoke certificates if on a free team

* Update OpenAPI spec, handle AVP

* Fix App ID capabilities on paid accounts
2025-05-12 18:14:36 +05:30
Kabir Oberai
c856b8d0ec Overlay tweaks 2024-12-24 03:05:12 +05:30
Kabir Oberai
d335091cdc Add overlay 2024-12-23 19:42:47 +05:30
Kabir Oberai
08d990537a public DeveloperAPI 2024-12-22 01:33:17 +05:30
Kabir Oberai
432ea8b58b OpenAPI namingStrategy=idiomatic 2024-12-21 16:13:14 +05:30
Kabir Oberai
33ceb0391d Use package access 2024-12-10 18:33:24 +05:30
Kabir Oberai
7672b611f5 Use ASC OpenAPI spec 2024-12-10 11:21:22 +05:30