1046 Commits

Author SHA1 Message Date
Colby Williams f9fb116eab [FEAT]: Add support for Public Keys API (#2945)
* Add support for /mets/public_keys/<keyType>

* "files.insertFinalNewline": false

* revert and make setttings.json change csharp only

* formatting

* remove final new line

---------

Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2024-12-27 14:05:00 -06:00
Matisse Hack 160a72381e Fix runner group access return type (#2965)
* Fix runner group access return type

* Fix tests

* Fix observables
2024-08-30 16:59:52 -07:00
Aaron Junker-Wildi 35f1784781 Adding support for creating Codespaces and getting available machine types (#2929)
Adding support for creating Codespaces
2024-07-29 13:43:50 -07:00
Nick Floyd 6bb0408582 [FIX]: reworks all number parameter names to represent what they actually are. Refactors some types to be the appropriate types based on OpenAPI and docs. (#2948)
* reworks all number parameter names to represent what they actually are. Refactors some types to be the appropriate types based on OpenAPI and docs.

* updates interfaces and implementations for id naming

* updates reactive to match sync SDKs
2024-07-02 15:31:59 -05:00
Nick Floyd 6565a07974 [BREAKING CHANGES]: int to long Ids for PreReceiveHook, Deployment Environments, Repository, Org Team, Repo Invitations, Public Key, Project Cards, Organization Invitation, Migrations, GpgKey, Deployment, Authorizations, Accounts / Profiles, Codespace / Workspaces (#2941)
* Fixes ids for Releases, Collaborators, and Contributors

* updates the interface for releases

* update the obverable release client

* updates ids from int to long based on GH database schema

* converts a test condition to use the proper type

* updates generated paging and observable classes
2024-06-26 10:57:30 -05:00
Colby Williams c2aee1ac54 [FEAT]: Create a GitHub App from a manifest
* Create a GitHub App from a manifest

* Add missing InstallationPermissions

* observable and tests

* Remove ManualRoute on Observable route

---------

Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2024-06-24 12:24:45 -05:00
Slyck Lizzie b208057af6 [Feat] Add Advanced Security Properties to Repository Get/Update (#2865)
* add SecurityAndAnalysis to repository get/update

* add repository advanced security

* cleanup

---------

Co-authored-by: Dirty Gooback <19241000+dirtygooback@users.noreply.github.com>
Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2024-06-24 12:00:00 -05:00
Colby Williams 1053a2045d [FEAT]: Search based on repository custom property (#2936)
search based on repository custom property
2024-06-21 12:09:43 -07:00
Colby Williams 9a3177e385 [FEAT]: Custom Properties (#2933)
* add custom properties model and clients

* observable

* observable tests

* add search

* error CS8370: 'target-typed object creation'

* Error CS8370: 'target-typed object creation'

* add patch with body that return status code

* fixes for failed ConventionTests

* working UnitTests

* (de)serialization and model tests

* Update Repository.cs
2024-06-17 15:01:20 -07:00
awedist 7d54cb0d85 feat: Implement dependency review and dependency submission APIs (#2932)
Implement dependency review and dependency submission

Co-authored-by: André Pereira <Andre.LuisPereira@Student.HTW-Berlin.de>
2024-06-14 17:03:11 -05:00
Victor 6c43183837 fix: comment id model update to long instead of int
* #2927: comment id model update to long instead of int

* #2927: code review fixes (1)

* #2927: code review fixes (2)

* #2927: comment id model update to long instead of int: unit tests fix

* #2927: code review fixes

* Fixed most names of parameters

---------

Co-authored-by: Victor Vorobyev <victor@myrtle-sa.com>
Co-authored-by: Brian C. Arnold <brian.arnold@spiderrock.net>
2024-06-10 08:12:08 -05:00
skyemcleman 41d5d240ec feat: Add create organization invitation via email (#2895)
* Add API request to create org invitation

* Add tests for create org invitation

* Add IObservable API request to create org invitation

* Add tests for IObservable create org invitation
2024-03-11 13:02:31 -05:00
Michael Lehto d27d1f0a22 Change "IssueId" to long (#2890)
* Change "IssueId" to `long`

* Change "Id" to `long` in ctor

* Change from `int` to `long` for issue id in "NewPullRequest"
2024-02-22 16:38:23 -08:00
Patrik Husfloen e4af6f919c feat: Add 'Pending' member to WorkflowJobStatus enum 2024-02-15 12:00:23 -06:00
Wesley Ford 350b8fe830 Fix: Add RequiredSignatures to the BranchProtectionSettingsUpdate Type (#2873)
* fix: added `RequiredSignatures` to the `BranchProtectionSettingsUpdate` types.

- Fixes #2855
- Updated `BranchProtectionSettingsUpdate` by adding `RequiredSignatures`.
- Update all integration `xUnit` tests to check for the `RequiredSignatures` property.

* docs: add comment documenting the `RequiredSignatures` property
2024-02-05 13:37:25 -08:00
Slyck Lizzie 2a87dd0802 [Feat] Add Repository Autolinks Client (#2868) 2024-02-01 13:56:26 -06:00
Tom Longhurst c9ddf3edc3 fix: Fix namespaces for Artifacts models (#2862) 2024-01-25 08:39:17 -06:00
Mitch Capper (they, them) 9bd519fc42 fix: Fixes PushId datatype to not overflow (fix user activity exception)
Bug introduced in #2795 Closes #2822

Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2024-01-18 15:31:53 -06:00
Mihail Gribkov 4254287aef [feat] Add Rocket & Eyes reactions to ReactionSummary 2024-01-16 16:20:48 -06:00
Chris b1a2cf52ed [FEAT] Add support for "Require approval of the most recent reviewable push" (#2839)
Add support for "Require approval of the most recent reviewable push"

Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2024-01-03 10:42:22 -06:00
Dirty Gooback f9c5b6992a [feat]: Implement Actions OIDC Client (#2828)
implement actions OIDC client

Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2024-01-02 16:04:07 -06:00
Dylan Morley a2a4f09c24 [FEAT]: Adding Copilot for Business support (#2826)
* initial tests and implementation of Copilot for Business client API

* updated billing settings documentation

* renames and refactors - clarity and simplified

* using context to ensure license clean up

* extra documentation and used ApiOptions instead of custom class

* implemented observable clients

* Fixing convention issues

* renaming for clarity

---------

Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2024-01-02 15:57:14 -06:00
Andrey Akinshin 48d061afd2 [feat] Introduce NewRelease.DiscussionCategoryName, Fixes #2746
Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2024-01-02 15:51:21 -06:00
Dirty Gooback f679108db5 [feat]: Adds GraphQL rate limit property to the rate limit client
add in graphql rate limit
2023-11-13 16:19:38 -06:00
Michael Jolley 7b3abda711 [feat]: Adding missing properties to PushEventPayload (#2795) 2023-10-09 15:35:41 -05:00
Michael Jolley fdd93c8428 [feat]: Adding repository variables 2023-10-09 15:24:05 -05:00
Perry 5dd3cfe5e4 [feat]: Add archive url to repository info
* Add archive url to repository info

* Add test

---------

Co-authored-by: Perry <perry@perry.dev.br>
2023-10-09 13:20:03 -05:00
Tom Longhurst 958bc5f1f8 [feat]: SDKs for ActionsArtifacts APIs 2023-09-25 14:16:41 -05:00
Dirty Gooback 50265be680 [feat] Expose WebCommitSignoffRequired and HasDiscussions for get and update repository objects (#2773) 2023-09-22 09:38:18 -05:00
Liam Neville dcc31b8e0c [Feat] Add suspended_at and suspended_by to the Installation model 2023-09-21 16:12:30 -05:00
capdiem c40c6b8e5c fix(SearchIssuesRequest): wrap label in quotes if it contains spaces (#2767) 2023-08-31 08:51:53 -05:00
Lehonti Ramos d46527d143 Added readonly to fields that are never modified (#2759)
Co-authored-by: Lehonti Ramos <john@doe>
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2023-08-11 09:53:51 -07:00
Jeff Lill 7fe4c4ee90 [feat] Adds support for making branches read-only (#2715) 2023-08-03 16:32:02 -05:00
Jasper Arildslund 729f261ecb [feat]: Support make_latest for create and update release endpoints 2023-08-03 16:26:58 -05:00
Ken Christensen bbcd33d96e Support refreshtokens in OAuth flow (#2749)
* Support refreshtokens in OAuth flow
Fixes #2731

* Added summary to OauthToken.cs constructors

* Mark deprecation of non-refreshToken constructor for OauthToken

* Remove unnecessary comment

---------

Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2023-07-27 15:46:03 -07:00
Jordan Dominion d7fd665622 [Breaking Change]: Fix DeploymentStatus IDs Overflowing (#2736) 2023-07-03 17:01:24 -05:00
Vury Leo cada8d15e7 Add Waiting to WorkflowJobStatus (#2732)
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2023-06-30 11:17:19 -07:00
Liam Neville d56404aee8 Make CreatedAt nullable (#2734)
make createdAt nullable
2023-06-28 13:03:59 -07:00
Liam Neville afac3e0bcf Add CreatedAt to WorkflowJob model (#2729)
* make some fields nullable on workflowjob

* add CreatedAt to WorkflowJob model
2023-06-26 14:23:40 -07:00
Liam Neville e1d587bc48 [BUG] Fix Deserializing WorkflowJob (#2725)
make some fields nullable on workflowjob
2023-06-16 10:48:35 -07:00
gitasaurus 3c82ff359c [FEAT] Adds support for enterprise audit logs 2023-05-09 10:28:58 -05:00
Martin Costello ecf5af499e [FEAT] Improve repo debugger display for Repository response
Show the repo's owner login in the debugger display string for `Repository` instead of the type name.
2023-05-09 09:46:25 -05:00
Matisse Hack 9adcf16362 [Fix] Fixes an issue where the runner application response deserialization would fail 2023-05-09 09:43:43 -05:00
Matisse Hack e032611e54 Add method to get a single runner group (#2706)
* Add method to get a single runner group

* Fix tests

* Fix typo

* Add observable methods
2023-05-05 15:32:16 -07:00
Liam Neville 2d4ba4e891 [FEAT] Self-hosted runners and Self-hosted runner groups APIs 2023-04-28 13:03:15 -05:00
Thomas Lem 5292e182e8 Added missing 'container' property in metadata on a package version. (#2696)
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2023-04-14 14:38:40 -07:00
Maciej aed70e335a Added Mannequin account type for migrated repos (#2694)
* Added Mannequin account type for migrated repos

Fix issue #2687

* Update AccountType.cs

* Added information about mannequin account type
2023-04-11 16:46:06 -07:00
Vita Chumakova 7349ecd668 [feat] Add missing workflow run conclusions 2023-03-24 15:06:44 -05:00
Heath Stewart 7f11726852 [Bug] Correctly deserialize CollaboratorPermissionResponse (#2682)
Fixes #2681
2023-03-10 12:09:08 -06:00
notauserx 1300427bdd [FEAT] Updates permissions for App Installations and Collaborators endpoints 2023-03-08 10:27:29 -06:00