Commit Graph

14 Commits

Author SHA1 Message Date
Kabir Oberai 8edb54fb71 Fix capability creation via public API (#220)
Ref #216: the public API seems to now complain when passing in
`capabilities`, but the field is still required when using the private
API.

Co-authored-by: sfusco <slf@stevenfusco.com>
2026-05-16 20:04:51 -04:00
Kabir Oberai 41f81b2851 Update ASC spec to v4.0.0 (#142)
No breaking changes afaik

One notable change is the addition of
`components.schemas.PagingInformation.paging.nextCursor` (which is
possibly supposed to be the query parameter portion of `links.next`?
could simplify the pagination code) but this doesn't seem to be returned
by the prod ASC API right now.
2025-07-21 04:03:31 -04:00
Kabir Oberai 6730ea3896 Make ALL response enums extensible (#92)
Another bugfix for #64. Fifth… time's the charm?
2025-05-25 19:09:17 +05:30
Kabir Oberai f76e1eda04 patch.js: improve ergonomics (#85) 2025-05-24 01:36:12 +05:30
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](https://github.com/AvdLee/appstoreconnect-swift-sdk/blob/60bbc198c8d9f9992807bfebef86f45d6173a1f1/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