Skip to content

Commit

Permalink
Merge pull request #939 from php-api-clients/GitHubAE/from-1.1.4-85b4…
Browse files Browse the repository at this point in the history
…4e1fd5b2db48b1416de6372728c7-from-1.1.4-85b44e1fd5b2db48b1416de6372728c7
  • Loading branch information
WyriHaximus authored Jan 10, 2024
2 parents b42081f + cfcf406 commit 2fc332b
Show file tree
Hide file tree
Showing 371 changed files with 1,900 additions and 1,725 deletions.
740 changes: 370 additions & 370 deletions clients/GitHubAE/etc/openapi-client-generator.state

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ public function createResponse(ResponseInterface $response): Observable|Schema\O
**/
case 204:
return new WithoutBody(204, []);
/**
* Repository contains more than 10,000 commits
**/

case 422:
return new WithoutBody(422, []);
}

throw new RuntimeException('Unable to find matching response code and content type');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return */
public function call(string $owner, string $repo, int $perPage = 30, int $page = 1): Ok
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Actions\ListArtifactsForRepo($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return */
public function call(string $owner, string $repo, int $runId, string $filter = 'latest', int $perPage = 30, int $page = 1): Json
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Actions\ListJobsForWorkflowRun($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $runId, $filter, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return */
public function call(string $owner, string $repo, int $runId, int $attemptNumber, int $perPage = 30, int $page = 1): Ok
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Actions\ListJobsForWorkflowRunAttempt($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $runId, $attemptNumber, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return */
public function call(string $org, int $perPage = 30, int $page = 1): Ok
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Actions\ListOrgSecrets($this->responseSchemaValidator, $this->hydrator, $org, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return */
public function call(string $owner, string $repo, int $perPage = 30, int $page = 1): Ok
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Actions\ListRepoOrganizationSecrets($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return */
public function call(string $owner, string $repo, int $perPage = 30, int $page = 1): Json
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Actions\ListRepoSecrets($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return */
public function call(string $owner, string $repo, int $perPage = 30, int $page = 1): Ok
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Actions\ListRepoWorkflows($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return */
public function call(string $org, string $secretName, int $page = 1, int $perPage = 30): Ok
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Actions\ListSelectedReposForOrgSecret($this->responseSchemaValidator, $this->hydrator, $org, $secretName, $page, $perPage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return */
public function call(string $org, int $perPage = 30, int $page = 1): Ok
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization($this->responseSchemaValidator, $this->hydrator, $org, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return */
public function call(string $org, int $perPage = 30, int $page = 1): Ok
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Actions\ListSelfHostedRunnerGroupsForOrg($this->responseSchemaValidator, $this->hydrator, $org, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return */
public function call(string $org, int $perPage = 30, int $page = 1): Ok
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Actions\ListSelfHostedRunnersForOrg($this->responseSchemaValidator, $this->hydrator, $org, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return */
public function call(string $owner, string $repo, int $perPage = 30, int $page = 1): Json
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Actions\ListSelfHostedRunnersForRepo($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return */
public function call(string $owner, string $repo, int $runId, string $name, int $perPage = 30, int $page = 1): Json
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Actions\ListWorkflowRunArtifacts($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $runId, $name, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return */
public function call(string $owner, string $repo, $workflowId, string $actor, string $branch, string $event, string $status, string $created, int $checkSuiteId, string $headSha, int $perPage = 30, int $page = 1, bool $excludePullRequests = false): Json
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Actions\ListWorkflowRuns($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $workflowId, $actor, $branch, $event, $status, $created, $checkSuiteId, $headSha, $perPage, $page, $excludePullRequests);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return */
public function call(string $owner, string $repo, string $actor, string $branch, string $event, string $status, string $created, int $checkSuiteId, string $headSha, int $perPage = 30, int $page = 1, bool $excludePullRequests = false): Ok
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Actions\ListWorkflowRunsForRepo($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $actor, $branch, $event, $status, $created, $checkSuiteId, $headSha, $perPage, $page, $excludePullRequests);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return iterable<int,Schema\Event> */
/** @return Observable<Schema\Event> */
public function call(string $username, int $perPage = 30, int $page = 1): iterable
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Activity\ListEventsForAuthenticatedUser($this->responseSchemaValidator, $this->hydrator, $username, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return iterable<int,Schema\Event> */
/** @return Observable<Schema\Event> */
public function call(string $username, int $perPage = 30, int $page = 1): iterable
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Activity\ListEventsForAuthenticatedUserListing($this->responseSchemaValidator, $this->hydrator, $username, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return iterable<int,Schema\Thread>|WithoutBody */
/** @return Observable<Schema\Thread>|WithoutBody */
public function call(string $since, string $before, bool $all = false, bool $participating = false, int $page = 1, int $perPage = 50): iterable|WithoutBody
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Activity\ListNotificationsForAuthenticatedUser($this->responseSchemaValidator, $this->hydrator, $since, $before, $all, $participating, $page, $perPage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return iterable<int,Schema\Thread>|WithoutBody */
/** @return Observable<Schema\Thread>|WithoutBody */
public function call(string $since, string $before, bool $all = false, bool $participating = false, int $page = 1, int $perPage = 50): iterable|WithoutBody
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Activity\ListNotificationsForAuthenticatedUserListing($this->responseSchemaValidator, $this->hydrator, $since, $before, $all, $participating, $page, $perPage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return iterable<int,Schema\Event> */
/** @return Observable<Schema\Event> */
public function call(string $username, string $org, int $perPage = 30, int $page = 1): iterable
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Activity\ListOrgEventsForAuthenticatedUser($this->responseSchemaValidator, $this->hydrator, $username, $org, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return iterable<int,Schema\Event> */
/** @return Observable<Schema\Event> */
public function call(string $username, string $org, int $perPage = 30, int $page = 1): iterable
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Activity\ListOrgEventsForAuthenticatedUserListing($this->responseSchemaValidator, $this->hydrator, $username, $org, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return iterable<int,Schema\Event> */
/** @return Observable<Schema\Event> */
public function call(string $owner, string $repo, int $perPage = 30, int $page = 1): iterable
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Activity\ListRepoEvents($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return iterable<int,Schema\Event> */
/** @return Observable<Schema\Event> */
public function call(string $owner, string $repo, int $perPage = 30, int $page = 1): iterable
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Activity\ListRepoEventsListing($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return iterable<int,Schema\Thread> */
/** @return Observable<Schema\Thread> */
public function call(string $owner, string $repo, string $since, string $before, bool $all = false, bool $participating = false, int $perPage = 30, int $page = 1): iterable
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Activity\ListRepoNotificationsForAuthenticatedUser($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $since, $before, $all, $participating, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return iterable<int,Schema\Thread> */
/** @return Observable<Schema\Thread> */
public function call(string $owner, string $repo, string $since, string $before, bool $all = false, bool $participating = false, int $perPage = 30, int $page = 1): iterable
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Activity\ListRepoNotificationsForAuthenticatedUserListing($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $since, $before, $all, $participating, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return iterable<int,Schema\Repository>|WithoutBody */
/** @return Observable<Schema\Repository>|WithoutBody */
public function call(string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1): iterable|WithoutBody
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Activity\ListReposStarredByAuthenticatedUser($this->responseSchemaValidator, $this->hydrator, $sort, $direction, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return iterable<int,Schema\Repository>|WithoutBody */
/** @return Observable<Schema\Repository>|WithoutBody */
public function call(string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1): iterable|WithoutBody
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Activity\ListReposStarredByAuthenticatedUserListing($this->responseSchemaValidator, $this->hydrator, $sort, $direction, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return */
public function call(string $username, string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1): StarredRepository|Repository
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Activity\ListReposStarredByUser($this->responseSchemaValidator, $this->hydrator, $username, $sort, $direction, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return iterable<int,Schema\MinimalRepository> */
/** @return Observable<Schema\MinimalRepository> */
public function call(string $username, int $perPage = 30, int $page = 1): iterable
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Activity\ListReposWatchedByUser($this->responseSchemaValidator, $this->hydrator, $username, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return iterable<int,Schema\MinimalRepository> */
/** @return Observable<Schema\MinimalRepository> */
public function call(string $username, int $perPage = 30, int $page = 1): iterable
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Activity\ListReposWatchedByUserListing($this->responseSchemaValidator, $this->hydrator, $username, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return */
public function call(string $owner, string $repo, int $perPage = 30, int $page = 1): SimpleUser|Stargazer
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Activity\ListStargazersForRepo($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return iterable<int,Schema\MinimalRepository>|WithoutBody */
/** @return Observable<Schema\MinimalRepository>|WithoutBody */
public function call(int $perPage = 30, int $page = 1): iterable|WithoutBody
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Activity\ListWatchedReposForAuthenticatedUser($this->responseSchemaValidator, $this->hydrator, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return iterable<int,Schema\MinimalRepository>|WithoutBody */
/** @return Observable<Schema\MinimalRepository>|WithoutBody */
public function call(int $perPage = 30, int $page = 1): iterable|WithoutBody
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Activity\ListWatchedReposForAuthenticatedUserListing($this->responseSchemaValidator, $this->hydrator, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return iterable<int,Schema\SimpleUser> */
/** @return Observable<Schema\SimpleUser> */
public function call(string $owner, string $repo, int $perPage = 30, int $page = 1): iterable
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Activity\ListWatchersForRepo($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return iterable<int,Schema\SimpleUser> */
/** @return Observable<Schema\SimpleUser> */
public function call(string $owner, string $repo, int $perPage = 30, int $page = 1): iterable
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Activity\ListWatchersForRepoListing($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return */
public function call(int $installationId, int $perPage = 30, int $page = 1): Ok|WithoutBody
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Apps\ListInstallationReposForAuthenticatedUser($this->responseSchemaValidator, $this->hydrator, $installationId, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return iterable<int,Schema\IntegrationInstallationRequest>|WithoutBody */
/** @return Observable<Schema\IntegrationInstallationRequest>|WithoutBody */
public function call(int $perPage = 30, int $page = 1): iterable|WithoutBody
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Apps\ListInstallationRequestsForAuthenticatedApp($this->responseSchemaValidator, $this->hydrator, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return iterable<int,Schema\IntegrationInstallationRequest>|WithoutBody */
/** @return Observable<Schema\IntegrationInstallationRequest>|WithoutBody */
public function call(int $perPage = 30, int $page = 1): iterable|WithoutBody
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Apps\ListInstallationRequestsForAuthenticatedAppListing($this->responseSchemaValidator, $this->hydrator, $perPage, $page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return iterable<int,Schema\Installation> */
/** @return Observable<Schema\Installation> */
public function call(string $since, string $outdated, int $perPage = 30, int $page = 1): iterable
{
$operation = new \ApiClients\Client\GitHubAE\Internal\Operation\Apps\ListInstallations($this->responseSchemaValidator, $this->hydrator, $since, $outdated, $perPage, $page);
Expand Down
Loading

0 comments on commit 2fc332b

Please sign in to comment.