@oro-ai/sdk 1.0.28 → 1.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +193 -2
- package/dist/index.d.ts +193 -2
- package/dist/index.js +24 -0
- package/dist/index.mjs +21 -0
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +34 -1
- package/src/generated/types.gen.ts +190 -0
package/dist/index.d.mts
CHANGED
|
@@ -1290,6 +1290,14 @@ type EvaluationRunPublic = {
|
|
|
1290
1290
|
sandbox_metadata?: ({
|
|
1291
1291
|
[key: string]: unknown;
|
|
1292
1292
|
} | null);
|
|
1293
|
+
/**
|
|
1294
|
+
* Evaluation phase (QUALIFYING or RACE)
|
|
1295
|
+
*/
|
|
1296
|
+
phase?: (string | null);
|
|
1297
|
+
/**
|
|
1298
|
+
* Race ID if this is a race-phase evaluation
|
|
1299
|
+
*/
|
|
1300
|
+
race_id?: (string | null);
|
|
1293
1301
|
};
|
|
1294
1302
|
/**
|
|
1295
1303
|
* Status of an evaluation run through its lifecycle.
|
|
@@ -1884,6 +1892,32 @@ type ProgressUpdateResponse = {
|
|
|
1884
1892
|
*/
|
|
1885
1893
|
accepted?: boolean;
|
|
1886
1894
|
};
|
|
1895
|
+
/**
|
|
1896
|
+
* Response for current race state.
|
|
1897
|
+
*/
|
|
1898
|
+
type RaceCurrentResponse = {
|
|
1899
|
+
/**
|
|
1900
|
+
* Active race, if any
|
|
1901
|
+
*/
|
|
1902
|
+
race?: (RacePublic | null);
|
|
1903
|
+
/**
|
|
1904
|
+
* Qualifiers for the active race
|
|
1905
|
+
*/
|
|
1906
|
+
qualifiers?: Array<RaceQualifierPublic>;
|
|
1907
|
+
};
|
|
1908
|
+
/**
|
|
1909
|
+
* Detailed view of a single race.
|
|
1910
|
+
*/
|
|
1911
|
+
type RaceDetailResponse = {
|
|
1912
|
+
/**
|
|
1913
|
+
* Race information
|
|
1914
|
+
*/
|
|
1915
|
+
race: RacePublic;
|
|
1916
|
+
/**
|
|
1917
|
+
* Qualifiers with scores
|
|
1918
|
+
*/
|
|
1919
|
+
qualifiers?: Array<RaceQualifierPublic>;
|
|
1920
|
+
};
|
|
1887
1921
|
/**
|
|
1888
1922
|
* Detailed diagnostics for a specific race.
|
|
1889
1923
|
*/
|
|
@@ -1916,6 +1950,79 @@ type RaceDiagnosticsResponse = {
|
|
|
1916
1950
|
qualifiers?: Array<RaceQualifierEntry>;
|
|
1917
1951
|
work_items?: Array<RaceWorkItemEntry>;
|
|
1918
1952
|
};
|
|
1953
|
+
/**
|
|
1954
|
+
* Paginated list of completed races.
|
|
1955
|
+
*/
|
|
1956
|
+
type RaceHistoryResponse = {
|
|
1957
|
+
/**
|
|
1958
|
+
* Past races
|
|
1959
|
+
*/
|
|
1960
|
+
races: Array<RacePublic>;
|
|
1961
|
+
/**
|
|
1962
|
+
* Total count
|
|
1963
|
+
*/
|
|
1964
|
+
total: number;
|
|
1965
|
+
/**
|
|
1966
|
+
* Page size
|
|
1967
|
+
*/
|
|
1968
|
+
limit: number;
|
|
1969
|
+
/**
|
|
1970
|
+
* Page offset
|
|
1971
|
+
*/
|
|
1972
|
+
offset: number;
|
|
1973
|
+
};
|
|
1974
|
+
/**
|
|
1975
|
+
* 404 - Race not found.
|
|
1976
|
+
*/
|
|
1977
|
+
type RaceNotFoundError = {
|
|
1978
|
+
/**
|
|
1979
|
+
* Error message describing what went wrong
|
|
1980
|
+
*/
|
|
1981
|
+
detail: string;
|
|
1982
|
+
/**
|
|
1983
|
+
* Error code for programmatic handling
|
|
1984
|
+
*/
|
|
1985
|
+
error_code?: "RACE_NOT_FOUND";
|
|
1986
|
+
};
|
|
1987
|
+
/**
|
|
1988
|
+
* Public view of a race — extends RaceBase with public-facing fields.
|
|
1989
|
+
*/
|
|
1990
|
+
type RacePublic = {
|
|
1991
|
+
/**
|
|
1992
|
+
* Race ID
|
|
1993
|
+
*/
|
|
1994
|
+
race_id: string;
|
|
1995
|
+
/**
|
|
1996
|
+
* Problem suite ID
|
|
1997
|
+
*/
|
|
1998
|
+
suite_id: number;
|
|
1999
|
+
race_number?: (number | null);
|
|
2000
|
+
/**
|
|
2001
|
+
* Current race status
|
|
2002
|
+
*/
|
|
2003
|
+
status: string;
|
|
2004
|
+
qualifying_closes_at?: (string | null);
|
|
2005
|
+
race_started_at?: (string | null);
|
|
2006
|
+
race_completed_at?: (string | null);
|
|
2007
|
+
winner_agent_version_id?: (string | null);
|
|
2008
|
+
winner_score?: (number | null);
|
|
2009
|
+
/**
|
|
2010
|
+
* Minimum score to qualify
|
|
2011
|
+
*/
|
|
2012
|
+
qualifying_threshold?: (number | null);
|
|
2013
|
+
/**
|
|
2014
|
+
* Winning agent name
|
|
2015
|
+
*/
|
|
2016
|
+
winner_agent_name?: (string | null);
|
|
2017
|
+
/**
|
|
2018
|
+
* Number of qualifiers
|
|
2019
|
+
*/
|
|
2020
|
+
qualifier_count?: number;
|
|
2021
|
+
/**
|
|
2022
|
+
* When race was created
|
|
2023
|
+
*/
|
|
2024
|
+
created_at: string;
|
|
2025
|
+
};
|
|
1919
2026
|
/**
|
|
1920
2027
|
* A qualifier in a race.
|
|
1921
2028
|
*/
|
|
@@ -1945,6 +2052,39 @@ type RaceQualifierEntry = {
|
|
|
1945
2052
|
*/
|
|
1946
2053
|
race_score?: (number | null);
|
|
1947
2054
|
};
|
|
2055
|
+
/**
|
|
2056
|
+
* A qualifier in a race (public view) — extends RaceQualifierEntry with rank.
|
|
2057
|
+
*/
|
|
2058
|
+
type RaceQualifierPublic = {
|
|
2059
|
+
/**
|
|
2060
|
+
* Agent version ID
|
|
2061
|
+
*/
|
|
2062
|
+
agent_version_id: string;
|
|
2063
|
+
/**
|
|
2064
|
+
* Agent name
|
|
2065
|
+
*/
|
|
2066
|
+
agent_name?: (string | null);
|
|
2067
|
+
/**
|
|
2068
|
+
* Miner hotkey
|
|
2069
|
+
*/
|
|
2070
|
+
miner_hotkey?: (string | null);
|
|
2071
|
+
/**
|
|
2072
|
+
* How agent qualified (INCUMBENT or SCORED)
|
|
2073
|
+
*/
|
|
2074
|
+
qualification_type: string;
|
|
2075
|
+
/**
|
|
2076
|
+
* Score from qualifying
|
|
2077
|
+
*/
|
|
2078
|
+
qualifying_score?: (number | null);
|
|
2079
|
+
/**
|
|
2080
|
+
* Score from race phase
|
|
2081
|
+
*/
|
|
2082
|
+
race_score?: (number | null);
|
|
2083
|
+
/**
|
|
2084
|
+
* Final rank in race (1 = winner)
|
|
2085
|
+
*/
|
|
2086
|
+
race_rank?: (number | null);
|
|
2087
|
+
};
|
|
1948
2088
|
/**
|
|
1949
2089
|
* Summary of a race for the current state view.
|
|
1950
2090
|
*/
|
|
@@ -2823,6 +2963,12 @@ type GetAgentVersionProblemsData = {
|
|
|
2823
2963
|
*/
|
|
2824
2964
|
agent_version_id: string;
|
|
2825
2965
|
};
|
|
2966
|
+
query?: {
|
|
2967
|
+
/**
|
|
2968
|
+
* Filter by evaluation phase (QUALIFYING or RACE)
|
|
2969
|
+
*/
|
|
2970
|
+
phase?: (string | null);
|
|
2971
|
+
};
|
|
2826
2972
|
};
|
|
2827
2973
|
type GetAgentVersionProblemsResponse = (AgentVersionProblemsResponse);
|
|
2828
2974
|
type GetAgentVersionProblemsError = (AgentVersionNotFoundError | HTTPValidationError);
|
|
@@ -2873,6 +3019,36 @@ type GetPendingEvaluationsData = {
|
|
|
2873
3019
|
};
|
|
2874
3020
|
type GetPendingEvaluationsResponse = (PendingEvaluationsResponse);
|
|
2875
3021
|
type GetPendingEvaluationsError = (HTTPValidationError);
|
|
3022
|
+
type GetCurrentRaceResponse = (RaceCurrentResponse);
|
|
3023
|
+
type GetCurrentRaceError = unknown;
|
|
3024
|
+
type GetRaceHistoryData = {
|
|
3025
|
+
query?: {
|
|
3026
|
+
/**
|
|
3027
|
+
* Page size
|
|
3028
|
+
*/
|
|
3029
|
+
limit?: number;
|
|
3030
|
+
/**
|
|
3031
|
+
* Page offset
|
|
3032
|
+
*/
|
|
3033
|
+
offset?: number;
|
|
3034
|
+
/**
|
|
3035
|
+
* Filter by suite ID
|
|
3036
|
+
*/
|
|
3037
|
+
suite_id?: (number | null);
|
|
3038
|
+
};
|
|
3039
|
+
};
|
|
3040
|
+
type GetRaceHistoryResponse = (RaceHistoryResponse);
|
|
3041
|
+
type GetRaceHistoryError = (HTTPValidationError);
|
|
3042
|
+
type GetRaceDetailData = {
|
|
3043
|
+
path: {
|
|
3044
|
+
/**
|
|
3045
|
+
* Race ID
|
|
3046
|
+
*/
|
|
3047
|
+
race_id: string;
|
|
3048
|
+
};
|
|
3049
|
+
};
|
|
3050
|
+
type GetRaceDetailResponse = (RaceDetailResponse);
|
|
3051
|
+
type GetRaceDetailError = (RaceNotFoundError | HTTPValidationError);
|
|
2876
3052
|
type JoinWaitlistData = {
|
|
2877
3053
|
body: WaitlistSignupRequest;
|
|
2878
3054
|
};
|
|
@@ -3431,6 +3607,21 @@ declare const getRunningEvaluations: <ThrowOnError extends boolean = false>(opti
|
|
|
3431
3607
|
* Get all open work items awaiting validator evaluations, with queue summary.
|
|
3432
3608
|
*/
|
|
3433
3609
|
declare const getPendingEvaluations: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetPendingEvaluationsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PendingEvaluationsResponse, HTTPValidationError, ThrowOnError>;
|
|
3610
|
+
/**
|
|
3611
|
+
* Get current race
|
|
3612
|
+
* Get the active race for the current suite, if any.
|
|
3613
|
+
*/
|
|
3614
|
+
declare const getCurrentRace: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RaceCurrentResponse, unknown, ThrowOnError>;
|
|
3615
|
+
/**
|
|
3616
|
+
* Get race history
|
|
3617
|
+
* Get completed and cancelled races, most recent first.
|
|
3618
|
+
*/
|
|
3619
|
+
declare const getRaceHistory: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetRaceHistoryData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RaceHistoryResponse, HTTPValidationError, ThrowOnError>;
|
|
3620
|
+
/**
|
|
3621
|
+
* Get race details
|
|
3622
|
+
* Get details for a specific race including qualifiers and results.
|
|
3623
|
+
*/
|
|
3624
|
+
declare const getRaceDetail: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetRaceDetailData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RaceDetailResponse, GetRaceDetailError, ThrowOnError>;
|
|
3434
3625
|
/**
|
|
3435
3626
|
* Join waitlist
|
|
3436
3627
|
* Submit an email to join the ORO waitlist.
|
|
@@ -3687,7 +3878,7 @@ declare const closeQualifying: <ThrowOnError extends boolean = false>(options?:
|
|
|
3687
3878
|
*
|
|
3688
3879
|
* DO NOT EDIT — regenerate with: python3 scripts/extract-errors.py
|
|
3689
3880
|
*/
|
|
3690
|
-
type OroErrorCode = 'AGENT_NOT_FOUND' | 'AGENT_VERSION_NOT_FOUND' | 'ALREADY_INVALIDATED' | 'ARTIFACT_NOT_FOUND' | 'ARTIFACT_NOT_RELEASED' | 'AT_CAPACITY' | 'CODE_ANALYSIS_ERROR' | 'COOLDOWN_ACTIVE' | 'EVAL_RUN_NOT_FOUND' | 'FILE_TOO_LARGE' | 'INVALID_AGENT_NAME' | 'INVALID_ARTIFACT_TYPE' | 'INVALID_FILE' | 'INVALID_PROBLEM_ID' | 'LEASE_EXPIRED' | 'MINER_NOT_FOUND' | 'MISSING_PARAMETER' | 'MISSING_SCORE' | 'NO_ACTIVE_SUITE' | 'NOT_RUN_OWNER' | 'PROBLEM_NOT_FOUND' | 'RATE_LIMIT_EXCEEDED' | 'RUN_ALREADY_COMPLETE' | 'SCORE_BELOW_THRESHOLD' | 'SUITE_NOT_FOUND' | 'VALIDATOR_NOT_FOUND';
|
|
3881
|
+
type OroErrorCode = 'AGENT_NOT_FOUND' | 'AGENT_VERSION_NOT_FOUND' | 'ALREADY_INVALIDATED' | 'ARTIFACT_NOT_FOUND' | 'ARTIFACT_NOT_RELEASED' | 'AT_CAPACITY' | 'CODE_ANALYSIS_ERROR' | 'COOLDOWN_ACTIVE' | 'EVAL_RUN_NOT_FOUND' | 'FILE_TOO_LARGE' | 'INVALID_AGENT_NAME' | 'INVALID_ARTIFACT_TYPE' | 'INVALID_FILE' | 'INVALID_PROBLEM_ID' | 'LEASE_EXPIRED' | 'MINER_NOT_FOUND' | 'MISSING_PARAMETER' | 'MISSING_SCORE' | 'NO_ACTIVE_SUITE' | 'NOT_RUN_OWNER' | 'PROBLEM_NOT_FOUND' | 'RACE_NOT_FOUND' | 'RATE_LIMIT_EXCEEDED' | 'RUN_ALREADY_COMPLETE' | 'SCORE_BELOW_THRESHOLD' | 'SUITE_NOT_FOUND' | 'VALIDATOR_NOT_FOUND';
|
|
3691
3882
|
|
|
3692
3883
|
/**
|
|
3693
3884
|
* Error classification utilities for the ORO SDK.
|
|
@@ -4033,4 +4224,4 @@ declare class SessionAuthManager {
|
|
|
4033
4224
|
*/
|
|
4034
4225
|
declare function configureSessionAuth(baseUrl: string, config: SessionAuthConfig): SessionAuthManager;
|
|
4035
4226
|
|
|
4036
|
-
export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdminAgentCodeResponse, type AdminAgentVersionEntry, type AdminAgentVersionsResponse, type AdminEvaluationRunEntry, type AdminEvaluationRunsResponse, type AdminMinerEntry, type AdminMinersResponse, type AdminValidatorEntry, type AdminValidatorsResponse, type AdmissionReason, type AdmissionStatus, type AgentLatestVersion, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionScoreEntry, type AgentVersionState, type AgentVersionStatus, type AgentVersionVariance, type AgentVersionVarianceResponse, type AlreadyInvalidatedError, type ArtifactDownloadRequest, type ArtifactDownloadResponse, type ArtifactNotFoundError, type ArtifactNotReleasedError, type ArtifactReleaseState, type ArtifactType, type AtCapacityError, type AuditEventEntry, type AuditEventsResponse, type BanMinerData, type BanMinerError, type BanMinerResponse, type BanRequest, type BanResponse, type BanValidatorData, type BanValidatorError, type BanValidatorResponse, type BittensorAuthConfig, type Body_submit_agent, type CachedSession, type CancelAgentVersionData, type CancelAgentVersionError, type CancelAgentVersionResponse, type CancelRequest, type CancelResponse, type ChallengeRequest, type ChallengeResponse, type ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type ClearMinerCooldownData, type ClearMinerCooldownError, type ClearMinerCooldownResponse, type CloseQualifyingError, type CloseQualifyingResponse, type CloseQualifyingResponse2, type CodeAnalysisError, type CompleteRunData, type CompleteRunError, type CompleteRunRequest, type CompleteRunResponse, type CompleteRunResponse2, type CooldownActiveError, type CreateSessionEndpointData, type CreateSessionEndpointError, type CreateSessionEndpointResponse, type CreateSuiteData, type CreateSuiteError, type CreateSuiteRequest, type CreateSuiteResponse, type CreateSuiteResponse2, type CurrentRacesResponse, type DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type FileTooLargeError, type GetAgentVersionCodeData, type GetAgentVersionCodeError, type GetAgentVersionCodeResponse, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionProblemsData, type GetAgentVersionProblemsError, type GetAgentVersionProblemsResponse, type GetAgentVersionResponse, type GetAgentVersionRunsData, type GetAgentVersionRunsError, type GetAgentVersionRunsResponse, type GetAgentVersionStatusData, type GetAgentVersionStatusError, type GetAgentVersionStatusResponse, type GetAgentVersionVarianceData, type GetAgentVersionVarianceError, type GetAgentVersionVarianceResponse, type GetArtifactDownloadUrlData, type GetArtifactDownloadUrlError, type GetArtifactDownloadUrlResponse, type GetAuditEventsData, type GetAuditEventsError, type GetAuditEventsResponse, type GetChutesAuthStatusError, type GetChutesAuthStatusResponse, type GetCurrentRacesError, type GetCurrentRacesResponse, type GetCurrentSuiteError, type GetCurrentSuiteResponse, type GetEvaluationRunData, type GetEvaluationRunError, type GetEvaluationRunResponse, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardResponse, type GetOwnedAgentVersionStatusData, type GetOwnedAgentVersionStatusError, type GetOwnedAgentVersionStatusResponse, type GetPendingEvaluationsData, type GetPendingEvaluationsError, type GetPendingEvaluationsResponse, type GetRaceDiagnosticsData, type GetRaceDiagnosticsError, type GetRaceDiagnosticsResponse, type GetReaperStatsError, type GetReaperStatsResponse, type GetRunProblemsData, type GetRunProblemsError, type GetRunProblemsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetTopHistoryData, type GetTopHistoryError, type GetTopHistoryResponse, type GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InvalidAgentNameError, type InvalidArtifactTypeError, type InvalidFileError, type InvalidProblemIdError, type InvalidateEvaluationRunData, type InvalidateEvaluationRunError, type InvalidateEvaluationRunResponse, type InvalidateRunRequest, type JoinWaitlistData, type JoinWaitlistError, type JoinWaitlistResponse, type LeaderboardEntry, type LeaderboardResponse, type LeaseExpiredError, type ListAgentVersions1Data, type ListAgentVersions1Error, type ListAgentVersions1Response, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsResponse, type ListEvaluationRunsData, type ListEvaluationRunsError, type ListEvaluationRunsResponse, type ListMinerAgentsError, type ListMinerAgentsResponse, type ListMinersData, type ListMinersError, type ListMinersResponse, type ListSuitesError, type ListSuitesResponse, type ListValidatorsData, type ListValidatorsError, type ListValidatorsResponse, type LogoutData, type LogoutError, type LogoutResponse, type LogoutResponse2, type MinerAgentsResponse, type MinerNotFoundError, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NotRunOwnerError, type OroErrorCode, type PendingEvaluation, type PendingEvaluationSummary, type PendingEvaluationsResponse, type PresignUploadData, type PresignUploadError, type PresignUploadRequest, type PresignUploadResponse, type PresignUploadResponse2, type ProblemNotFoundError, type ProblemProgressEntry, type ProblemProgressUpdate, type ProblemPublic, type ProblemStatus, type ProgressUpdateRequest, type ProgressUpdateResponse, type RaceDiagnosticsResponse, type RaceQualifierEntry, type RaceSummary, type RaceWorkItemEntry, type RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateRequest, type RequestChallengeData, type RequestChallengeError, type RequestChallengeResponse, type RetryConfig, type RetryContext, type RunAlreadyCompleteError, type RunProblemsResponse, type RunningEvaluation, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type TopHistoryEntry, type TopHistoryResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type ValidationError, type ValidatorCurrentAgent, type ValidatorNotFoundError, type ValidatorProblemResult, type ValidatorPublic, type ValidatorScoreSummary, type ValidatorScoresResponse, type ValidatorStatus, type WaitlistSignupRequest, type WaitlistSignupResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, client, closeQualifying, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, discardAgentVersion, generateAuthHeaders, getAgentVersion, getAgentVersionCode, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentRaces, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getRaceDiagnostics, getReaperStats, getRunProblems, getRunningEvaluations, getSuiteProblems, getTopAgent, getTopHistory, getValidatorScores, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listMinerAgents, listMiners, listSuites, listValidators, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, requestChallenge, setTopAgent, storeChutesToken, submitAgent, unbanMiner, unbanValidator, updateProgress };
|
|
4227
|
+
export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdminAgentCodeResponse, type AdminAgentVersionEntry, type AdminAgentVersionsResponse, type AdminEvaluationRunEntry, type AdminEvaluationRunsResponse, type AdminMinerEntry, type AdminMinersResponse, type AdminValidatorEntry, type AdminValidatorsResponse, type AdmissionReason, type AdmissionStatus, type AgentLatestVersion, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionScoreEntry, type AgentVersionState, type AgentVersionStatus, type AgentVersionVariance, type AgentVersionVarianceResponse, type AlreadyInvalidatedError, type ArtifactDownloadRequest, type ArtifactDownloadResponse, type ArtifactNotFoundError, type ArtifactNotReleasedError, type ArtifactReleaseState, type ArtifactType, type AtCapacityError, type AuditEventEntry, type AuditEventsResponse, type BanMinerData, type BanMinerError, type BanMinerResponse, type BanRequest, type BanResponse, type BanValidatorData, type BanValidatorError, type BanValidatorResponse, type BittensorAuthConfig, type Body_submit_agent, type CachedSession, type CancelAgentVersionData, type CancelAgentVersionError, type CancelAgentVersionResponse, type CancelRequest, type CancelResponse, type ChallengeRequest, type ChallengeResponse, type ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type ClearMinerCooldownData, type ClearMinerCooldownError, type ClearMinerCooldownResponse, type CloseQualifyingError, type CloseQualifyingResponse, type CloseQualifyingResponse2, type CodeAnalysisError, type CompleteRunData, type CompleteRunError, type CompleteRunRequest, type CompleteRunResponse, type CompleteRunResponse2, type CooldownActiveError, type CreateSessionEndpointData, type CreateSessionEndpointError, type CreateSessionEndpointResponse, type CreateSuiteData, type CreateSuiteError, type CreateSuiteRequest, type CreateSuiteResponse, type CreateSuiteResponse2, type CurrentRacesResponse, type DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type FileTooLargeError, type GetAgentVersionCodeData, type GetAgentVersionCodeError, type GetAgentVersionCodeResponse, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionProblemsData, type GetAgentVersionProblemsError, type GetAgentVersionProblemsResponse, type GetAgentVersionResponse, type GetAgentVersionRunsData, type GetAgentVersionRunsError, type GetAgentVersionRunsResponse, type GetAgentVersionStatusData, type GetAgentVersionStatusError, type GetAgentVersionStatusResponse, type GetAgentVersionVarianceData, type GetAgentVersionVarianceError, type GetAgentVersionVarianceResponse, type GetArtifactDownloadUrlData, type GetArtifactDownloadUrlError, type GetArtifactDownloadUrlResponse, type GetAuditEventsData, type GetAuditEventsError, type GetAuditEventsResponse, type GetChutesAuthStatusError, type GetChutesAuthStatusResponse, type GetCurrentRaceError, type GetCurrentRaceResponse, type GetCurrentRacesError, type GetCurrentRacesResponse, type GetCurrentSuiteError, type GetCurrentSuiteResponse, type GetEvaluationRunData, type GetEvaluationRunError, type GetEvaluationRunResponse, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardResponse, type GetOwnedAgentVersionStatusData, type GetOwnedAgentVersionStatusError, type GetOwnedAgentVersionStatusResponse, type GetPendingEvaluationsData, type GetPendingEvaluationsError, type GetPendingEvaluationsResponse, type GetRaceDetailData, type GetRaceDetailError, type GetRaceDetailResponse, type GetRaceDiagnosticsData, type GetRaceDiagnosticsError, type GetRaceDiagnosticsResponse, type GetRaceHistoryData, type GetRaceHistoryError, type GetRaceHistoryResponse, type GetReaperStatsError, type GetReaperStatsResponse, type GetRunProblemsData, type GetRunProblemsError, type GetRunProblemsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetTopHistoryData, type GetTopHistoryError, type GetTopHistoryResponse, type GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InvalidAgentNameError, type InvalidArtifactTypeError, type InvalidFileError, type InvalidProblemIdError, type InvalidateEvaluationRunData, type InvalidateEvaluationRunError, type InvalidateEvaluationRunResponse, type InvalidateRunRequest, type JoinWaitlistData, type JoinWaitlistError, type JoinWaitlistResponse, type LeaderboardEntry, type LeaderboardResponse, type LeaseExpiredError, type ListAgentVersions1Data, type ListAgentVersions1Error, type ListAgentVersions1Response, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsResponse, type ListEvaluationRunsData, type ListEvaluationRunsError, type ListEvaluationRunsResponse, type ListMinerAgentsError, type ListMinerAgentsResponse, type ListMinersData, type ListMinersError, type ListMinersResponse, type ListSuitesError, type ListSuitesResponse, type ListValidatorsData, type ListValidatorsError, type ListValidatorsResponse, type LogoutData, type LogoutError, type LogoutResponse, type LogoutResponse2, type MinerAgentsResponse, type MinerNotFoundError, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NotRunOwnerError, type OroErrorCode, type PendingEvaluation, type PendingEvaluationSummary, type PendingEvaluationsResponse, type PresignUploadData, type PresignUploadError, type PresignUploadRequest, type PresignUploadResponse, type PresignUploadResponse2, type ProblemNotFoundError, type ProblemProgressEntry, type ProblemProgressUpdate, type ProblemPublic, type ProblemStatus, type ProgressUpdateRequest, type ProgressUpdateResponse, type RaceCurrentResponse, type RaceDetailResponse, type RaceDiagnosticsResponse, type RaceHistoryResponse, type RaceNotFoundError, type RacePublic, type RaceQualifierEntry, type RaceQualifierPublic, type RaceSummary, type RaceWorkItemEntry, type RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateRequest, type RequestChallengeData, type RequestChallengeError, type RequestChallengeResponse, type RetryConfig, type RetryContext, type RunAlreadyCompleteError, type RunProblemsResponse, type RunningEvaluation, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type TopHistoryEntry, type TopHistoryResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type ValidationError, type ValidatorCurrentAgent, type ValidatorNotFoundError, type ValidatorProblemResult, type ValidatorPublic, type ValidatorScoreSummary, type ValidatorScoresResponse, type ValidatorStatus, type WaitlistSignupRequest, type WaitlistSignupResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, client, closeQualifying, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, discardAgentVersion, generateAuthHeaders, getAgentVersion, getAgentVersionCode, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentRace, getCurrentRaces, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getRaceDetail, getRaceDiagnostics, getRaceHistory, getReaperStats, getRunProblems, getRunningEvaluations, getSuiteProblems, getTopAgent, getTopHistory, getValidatorScores, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listMinerAgents, listMiners, listSuites, listValidators, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, requestChallenge, setTopAgent, storeChutesToken, submitAgent, unbanMiner, unbanValidator, updateProgress };
|
package/dist/index.d.ts
CHANGED
|
@@ -1290,6 +1290,14 @@ type EvaluationRunPublic = {
|
|
|
1290
1290
|
sandbox_metadata?: ({
|
|
1291
1291
|
[key: string]: unknown;
|
|
1292
1292
|
} | null);
|
|
1293
|
+
/**
|
|
1294
|
+
* Evaluation phase (QUALIFYING or RACE)
|
|
1295
|
+
*/
|
|
1296
|
+
phase?: (string | null);
|
|
1297
|
+
/**
|
|
1298
|
+
* Race ID if this is a race-phase evaluation
|
|
1299
|
+
*/
|
|
1300
|
+
race_id?: (string | null);
|
|
1293
1301
|
};
|
|
1294
1302
|
/**
|
|
1295
1303
|
* Status of an evaluation run through its lifecycle.
|
|
@@ -1884,6 +1892,32 @@ type ProgressUpdateResponse = {
|
|
|
1884
1892
|
*/
|
|
1885
1893
|
accepted?: boolean;
|
|
1886
1894
|
};
|
|
1895
|
+
/**
|
|
1896
|
+
* Response for current race state.
|
|
1897
|
+
*/
|
|
1898
|
+
type RaceCurrentResponse = {
|
|
1899
|
+
/**
|
|
1900
|
+
* Active race, if any
|
|
1901
|
+
*/
|
|
1902
|
+
race?: (RacePublic | null);
|
|
1903
|
+
/**
|
|
1904
|
+
* Qualifiers for the active race
|
|
1905
|
+
*/
|
|
1906
|
+
qualifiers?: Array<RaceQualifierPublic>;
|
|
1907
|
+
};
|
|
1908
|
+
/**
|
|
1909
|
+
* Detailed view of a single race.
|
|
1910
|
+
*/
|
|
1911
|
+
type RaceDetailResponse = {
|
|
1912
|
+
/**
|
|
1913
|
+
* Race information
|
|
1914
|
+
*/
|
|
1915
|
+
race: RacePublic;
|
|
1916
|
+
/**
|
|
1917
|
+
* Qualifiers with scores
|
|
1918
|
+
*/
|
|
1919
|
+
qualifiers?: Array<RaceQualifierPublic>;
|
|
1920
|
+
};
|
|
1887
1921
|
/**
|
|
1888
1922
|
* Detailed diagnostics for a specific race.
|
|
1889
1923
|
*/
|
|
@@ -1916,6 +1950,79 @@ type RaceDiagnosticsResponse = {
|
|
|
1916
1950
|
qualifiers?: Array<RaceQualifierEntry>;
|
|
1917
1951
|
work_items?: Array<RaceWorkItemEntry>;
|
|
1918
1952
|
};
|
|
1953
|
+
/**
|
|
1954
|
+
* Paginated list of completed races.
|
|
1955
|
+
*/
|
|
1956
|
+
type RaceHistoryResponse = {
|
|
1957
|
+
/**
|
|
1958
|
+
* Past races
|
|
1959
|
+
*/
|
|
1960
|
+
races: Array<RacePublic>;
|
|
1961
|
+
/**
|
|
1962
|
+
* Total count
|
|
1963
|
+
*/
|
|
1964
|
+
total: number;
|
|
1965
|
+
/**
|
|
1966
|
+
* Page size
|
|
1967
|
+
*/
|
|
1968
|
+
limit: number;
|
|
1969
|
+
/**
|
|
1970
|
+
* Page offset
|
|
1971
|
+
*/
|
|
1972
|
+
offset: number;
|
|
1973
|
+
};
|
|
1974
|
+
/**
|
|
1975
|
+
* 404 - Race not found.
|
|
1976
|
+
*/
|
|
1977
|
+
type RaceNotFoundError = {
|
|
1978
|
+
/**
|
|
1979
|
+
* Error message describing what went wrong
|
|
1980
|
+
*/
|
|
1981
|
+
detail: string;
|
|
1982
|
+
/**
|
|
1983
|
+
* Error code for programmatic handling
|
|
1984
|
+
*/
|
|
1985
|
+
error_code?: "RACE_NOT_FOUND";
|
|
1986
|
+
};
|
|
1987
|
+
/**
|
|
1988
|
+
* Public view of a race — extends RaceBase with public-facing fields.
|
|
1989
|
+
*/
|
|
1990
|
+
type RacePublic = {
|
|
1991
|
+
/**
|
|
1992
|
+
* Race ID
|
|
1993
|
+
*/
|
|
1994
|
+
race_id: string;
|
|
1995
|
+
/**
|
|
1996
|
+
* Problem suite ID
|
|
1997
|
+
*/
|
|
1998
|
+
suite_id: number;
|
|
1999
|
+
race_number?: (number | null);
|
|
2000
|
+
/**
|
|
2001
|
+
* Current race status
|
|
2002
|
+
*/
|
|
2003
|
+
status: string;
|
|
2004
|
+
qualifying_closes_at?: (string | null);
|
|
2005
|
+
race_started_at?: (string | null);
|
|
2006
|
+
race_completed_at?: (string | null);
|
|
2007
|
+
winner_agent_version_id?: (string | null);
|
|
2008
|
+
winner_score?: (number | null);
|
|
2009
|
+
/**
|
|
2010
|
+
* Minimum score to qualify
|
|
2011
|
+
*/
|
|
2012
|
+
qualifying_threshold?: (number | null);
|
|
2013
|
+
/**
|
|
2014
|
+
* Winning agent name
|
|
2015
|
+
*/
|
|
2016
|
+
winner_agent_name?: (string | null);
|
|
2017
|
+
/**
|
|
2018
|
+
* Number of qualifiers
|
|
2019
|
+
*/
|
|
2020
|
+
qualifier_count?: number;
|
|
2021
|
+
/**
|
|
2022
|
+
* When race was created
|
|
2023
|
+
*/
|
|
2024
|
+
created_at: string;
|
|
2025
|
+
};
|
|
1919
2026
|
/**
|
|
1920
2027
|
* A qualifier in a race.
|
|
1921
2028
|
*/
|
|
@@ -1945,6 +2052,39 @@ type RaceQualifierEntry = {
|
|
|
1945
2052
|
*/
|
|
1946
2053
|
race_score?: (number | null);
|
|
1947
2054
|
};
|
|
2055
|
+
/**
|
|
2056
|
+
* A qualifier in a race (public view) — extends RaceQualifierEntry with rank.
|
|
2057
|
+
*/
|
|
2058
|
+
type RaceQualifierPublic = {
|
|
2059
|
+
/**
|
|
2060
|
+
* Agent version ID
|
|
2061
|
+
*/
|
|
2062
|
+
agent_version_id: string;
|
|
2063
|
+
/**
|
|
2064
|
+
* Agent name
|
|
2065
|
+
*/
|
|
2066
|
+
agent_name?: (string | null);
|
|
2067
|
+
/**
|
|
2068
|
+
* Miner hotkey
|
|
2069
|
+
*/
|
|
2070
|
+
miner_hotkey?: (string | null);
|
|
2071
|
+
/**
|
|
2072
|
+
* How agent qualified (INCUMBENT or SCORED)
|
|
2073
|
+
*/
|
|
2074
|
+
qualification_type: string;
|
|
2075
|
+
/**
|
|
2076
|
+
* Score from qualifying
|
|
2077
|
+
*/
|
|
2078
|
+
qualifying_score?: (number | null);
|
|
2079
|
+
/**
|
|
2080
|
+
* Score from race phase
|
|
2081
|
+
*/
|
|
2082
|
+
race_score?: (number | null);
|
|
2083
|
+
/**
|
|
2084
|
+
* Final rank in race (1 = winner)
|
|
2085
|
+
*/
|
|
2086
|
+
race_rank?: (number | null);
|
|
2087
|
+
};
|
|
1948
2088
|
/**
|
|
1949
2089
|
* Summary of a race for the current state view.
|
|
1950
2090
|
*/
|
|
@@ -2823,6 +2963,12 @@ type GetAgentVersionProblemsData = {
|
|
|
2823
2963
|
*/
|
|
2824
2964
|
agent_version_id: string;
|
|
2825
2965
|
};
|
|
2966
|
+
query?: {
|
|
2967
|
+
/**
|
|
2968
|
+
* Filter by evaluation phase (QUALIFYING or RACE)
|
|
2969
|
+
*/
|
|
2970
|
+
phase?: (string | null);
|
|
2971
|
+
};
|
|
2826
2972
|
};
|
|
2827
2973
|
type GetAgentVersionProblemsResponse = (AgentVersionProblemsResponse);
|
|
2828
2974
|
type GetAgentVersionProblemsError = (AgentVersionNotFoundError | HTTPValidationError);
|
|
@@ -2873,6 +3019,36 @@ type GetPendingEvaluationsData = {
|
|
|
2873
3019
|
};
|
|
2874
3020
|
type GetPendingEvaluationsResponse = (PendingEvaluationsResponse);
|
|
2875
3021
|
type GetPendingEvaluationsError = (HTTPValidationError);
|
|
3022
|
+
type GetCurrentRaceResponse = (RaceCurrentResponse);
|
|
3023
|
+
type GetCurrentRaceError = unknown;
|
|
3024
|
+
type GetRaceHistoryData = {
|
|
3025
|
+
query?: {
|
|
3026
|
+
/**
|
|
3027
|
+
* Page size
|
|
3028
|
+
*/
|
|
3029
|
+
limit?: number;
|
|
3030
|
+
/**
|
|
3031
|
+
* Page offset
|
|
3032
|
+
*/
|
|
3033
|
+
offset?: number;
|
|
3034
|
+
/**
|
|
3035
|
+
* Filter by suite ID
|
|
3036
|
+
*/
|
|
3037
|
+
suite_id?: (number | null);
|
|
3038
|
+
};
|
|
3039
|
+
};
|
|
3040
|
+
type GetRaceHistoryResponse = (RaceHistoryResponse);
|
|
3041
|
+
type GetRaceHistoryError = (HTTPValidationError);
|
|
3042
|
+
type GetRaceDetailData = {
|
|
3043
|
+
path: {
|
|
3044
|
+
/**
|
|
3045
|
+
* Race ID
|
|
3046
|
+
*/
|
|
3047
|
+
race_id: string;
|
|
3048
|
+
};
|
|
3049
|
+
};
|
|
3050
|
+
type GetRaceDetailResponse = (RaceDetailResponse);
|
|
3051
|
+
type GetRaceDetailError = (RaceNotFoundError | HTTPValidationError);
|
|
2876
3052
|
type JoinWaitlistData = {
|
|
2877
3053
|
body: WaitlistSignupRequest;
|
|
2878
3054
|
};
|
|
@@ -3431,6 +3607,21 @@ declare const getRunningEvaluations: <ThrowOnError extends boolean = false>(opti
|
|
|
3431
3607
|
* Get all open work items awaiting validator evaluations, with queue summary.
|
|
3432
3608
|
*/
|
|
3433
3609
|
declare const getPendingEvaluations: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetPendingEvaluationsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PendingEvaluationsResponse, HTTPValidationError, ThrowOnError>;
|
|
3610
|
+
/**
|
|
3611
|
+
* Get current race
|
|
3612
|
+
* Get the active race for the current suite, if any.
|
|
3613
|
+
*/
|
|
3614
|
+
declare const getCurrentRace: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RaceCurrentResponse, unknown, ThrowOnError>;
|
|
3615
|
+
/**
|
|
3616
|
+
* Get race history
|
|
3617
|
+
* Get completed and cancelled races, most recent first.
|
|
3618
|
+
*/
|
|
3619
|
+
declare const getRaceHistory: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetRaceHistoryData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RaceHistoryResponse, HTTPValidationError, ThrowOnError>;
|
|
3620
|
+
/**
|
|
3621
|
+
* Get race details
|
|
3622
|
+
* Get details for a specific race including qualifiers and results.
|
|
3623
|
+
*/
|
|
3624
|
+
declare const getRaceDetail: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetRaceDetailData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RaceDetailResponse, GetRaceDetailError, ThrowOnError>;
|
|
3434
3625
|
/**
|
|
3435
3626
|
* Join waitlist
|
|
3436
3627
|
* Submit an email to join the ORO waitlist.
|
|
@@ -3687,7 +3878,7 @@ declare const closeQualifying: <ThrowOnError extends boolean = false>(options?:
|
|
|
3687
3878
|
*
|
|
3688
3879
|
* DO NOT EDIT — regenerate with: python3 scripts/extract-errors.py
|
|
3689
3880
|
*/
|
|
3690
|
-
type OroErrorCode = 'AGENT_NOT_FOUND' | 'AGENT_VERSION_NOT_FOUND' | 'ALREADY_INVALIDATED' | 'ARTIFACT_NOT_FOUND' | 'ARTIFACT_NOT_RELEASED' | 'AT_CAPACITY' | 'CODE_ANALYSIS_ERROR' | 'COOLDOWN_ACTIVE' | 'EVAL_RUN_NOT_FOUND' | 'FILE_TOO_LARGE' | 'INVALID_AGENT_NAME' | 'INVALID_ARTIFACT_TYPE' | 'INVALID_FILE' | 'INVALID_PROBLEM_ID' | 'LEASE_EXPIRED' | 'MINER_NOT_FOUND' | 'MISSING_PARAMETER' | 'MISSING_SCORE' | 'NO_ACTIVE_SUITE' | 'NOT_RUN_OWNER' | 'PROBLEM_NOT_FOUND' | 'RATE_LIMIT_EXCEEDED' | 'RUN_ALREADY_COMPLETE' | 'SCORE_BELOW_THRESHOLD' | 'SUITE_NOT_FOUND' | 'VALIDATOR_NOT_FOUND';
|
|
3881
|
+
type OroErrorCode = 'AGENT_NOT_FOUND' | 'AGENT_VERSION_NOT_FOUND' | 'ALREADY_INVALIDATED' | 'ARTIFACT_NOT_FOUND' | 'ARTIFACT_NOT_RELEASED' | 'AT_CAPACITY' | 'CODE_ANALYSIS_ERROR' | 'COOLDOWN_ACTIVE' | 'EVAL_RUN_NOT_FOUND' | 'FILE_TOO_LARGE' | 'INVALID_AGENT_NAME' | 'INVALID_ARTIFACT_TYPE' | 'INVALID_FILE' | 'INVALID_PROBLEM_ID' | 'LEASE_EXPIRED' | 'MINER_NOT_FOUND' | 'MISSING_PARAMETER' | 'MISSING_SCORE' | 'NO_ACTIVE_SUITE' | 'NOT_RUN_OWNER' | 'PROBLEM_NOT_FOUND' | 'RACE_NOT_FOUND' | 'RATE_LIMIT_EXCEEDED' | 'RUN_ALREADY_COMPLETE' | 'SCORE_BELOW_THRESHOLD' | 'SUITE_NOT_FOUND' | 'VALIDATOR_NOT_FOUND';
|
|
3691
3882
|
|
|
3692
3883
|
/**
|
|
3693
3884
|
* Error classification utilities for the ORO SDK.
|
|
@@ -4033,4 +4224,4 @@ declare class SessionAuthManager {
|
|
|
4033
4224
|
*/
|
|
4034
4225
|
declare function configureSessionAuth(baseUrl: string, config: SessionAuthConfig): SessionAuthManager;
|
|
4035
4226
|
|
|
4036
|
-
export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdminAgentCodeResponse, type AdminAgentVersionEntry, type AdminAgentVersionsResponse, type AdminEvaluationRunEntry, type AdminEvaluationRunsResponse, type AdminMinerEntry, type AdminMinersResponse, type AdminValidatorEntry, type AdminValidatorsResponse, type AdmissionReason, type AdmissionStatus, type AgentLatestVersion, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionScoreEntry, type AgentVersionState, type AgentVersionStatus, type AgentVersionVariance, type AgentVersionVarianceResponse, type AlreadyInvalidatedError, type ArtifactDownloadRequest, type ArtifactDownloadResponse, type ArtifactNotFoundError, type ArtifactNotReleasedError, type ArtifactReleaseState, type ArtifactType, type AtCapacityError, type AuditEventEntry, type AuditEventsResponse, type BanMinerData, type BanMinerError, type BanMinerResponse, type BanRequest, type BanResponse, type BanValidatorData, type BanValidatorError, type BanValidatorResponse, type BittensorAuthConfig, type Body_submit_agent, type CachedSession, type CancelAgentVersionData, type CancelAgentVersionError, type CancelAgentVersionResponse, type CancelRequest, type CancelResponse, type ChallengeRequest, type ChallengeResponse, type ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type ClearMinerCooldownData, type ClearMinerCooldownError, type ClearMinerCooldownResponse, type CloseQualifyingError, type CloseQualifyingResponse, type CloseQualifyingResponse2, type CodeAnalysisError, type CompleteRunData, type CompleteRunError, type CompleteRunRequest, type CompleteRunResponse, type CompleteRunResponse2, type CooldownActiveError, type CreateSessionEndpointData, type CreateSessionEndpointError, type CreateSessionEndpointResponse, type CreateSuiteData, type CreateSuiteError, type CreateSuiteRequest, type CreateSuiteResponse, type CreateSuiteResponse2, type CurrentRacesResponse, type DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type FileTooLargeError, type GetAgentVersionCodeData, type GetAgentVersionCodeError, type GetAgentVersionCodeResponse, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionProblemsData, type GetAgentVersionProblemsError, type GetAgentVersionProblemsResponse, type GetAgentVersionResponse, type GetAgentVersionRunsData, type GetAgentVersionRunsError, type GetAgentVersionRunsResponse, type GetAgentVersionStatusData, type GetAgentVersionStatusError, type GetAgentVersionStatusResponse, type GetAgentVersionVarianceData, type GetAgentVersionVarianceError, type GetAgentVersionVarianceResponse, type GetArtifactDownloadUrlData, type GetArtifactDownloadUrlError, type GetArtifactDownloadUrlResponse, type GetAuditEventsData, type GetAuditEventsError, type GetAuditEventsResponse, type GetChutesAuthStatusError, type GetChutesAuthStatusResponse, type GetCurrentRacesError, type GetCurrentRacesResponse, type GetCurrentSuiteError, type GetCurrentSuiteResponse, type GetEvaluationRunData, type GetEvaluationRunError, type GetEvaluationRunResponse, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardResponse, type GetOwnedAgentVersionStatusData, type GetOwnedAgentVersionStatusError, type GetOwnedAgentVersionStatusResponse, type GetPendingEvaluationsData, type GetPendingEvaluationsError, type GetPendingEvaluationsResponse, type GetRaceDiagnosticsData, type GetRaceDiagnosticsError, type GetRaceDiagnosticsResponse, type GetReaperStatsError, type GetReaperStatsResponse, type GetRunProblemsData, type GetRunProblemsError, type GetRunProblemsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetTopHistoryData, type GetTopHistoryError, type GetTopHistoryResponse, type GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InvalidAgentNameError, type InvalidArtifactTypeError, type InvalidFileError, type InvalidProblemIdError, type InvalidateEvaluationRunData, type InvalidateEvaluationRunError, type InvalidateEvaluationRunResponse, type InvalidateRunRequest, type JoinWaitlistData, type JoinWaitlistError, type JoinWaitlistResponse, type LeaderboardEntry, type LeaderboardResponse, type LeaseExpiredError, type ListAgentVersions1Data, type ListAgentVersions1Error, type ListAgentVersions1Response, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsResponse, type ListEvaluationRunsData, type ListEvaluationRunsError, type ListEvaluationRunsResponse, type ListMinerAgentsError, type ListMinerAgentsResponse, type ListMinersData, type ListMinersError, type ListMinersResponse, type ListSuitesError, type ListSuitesResponse, type ListValidatorsData, type ListValidatorsError, type ListValidatorsResponse, type LogoutData, type LogoutError, type LogoutResponse, type LogoutResponse2, type MinerAgentsResponse, type MinerNotFoundError, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NotRunOwnerError, type OroErrorCode, type PendingEvaluation, type PendingEvaluationSummary, type PendingEvaluationsResponse, type PresignUploadData, type PresignUploadError, type PresignUploadRequest, type PresignUploadResponse, type PresignUploadResponse2, type ProblemNotFoundError, type ProblemProgressEntry, type ProblemProgressUpdate, type ProblemPublic, type ProblemStatus, type ProgressUpdateRequest, type ProgressUpdateResponse, type RaceDiagnosticsResponse, type RaceQualifierEntry, type RaceSummary, type RaceWorkItemEntry, type RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateRequest, type RequestChallengeData, type RequestChallengeError, type RequestChallengeResponse, type RetryConfig, type RetryContext, type RunAlreadyCompleteError, type RunProblemsResponse, type RunningEvaluation, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type TopHistoryEntry, type TopHistoryResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type ValidationError, type ValidatorCurrentAgent, type ValidatorNotFoundError, type ValidatorProblemResult, type ValidatorPublic, type ValidatorScoreSummary, type ValidatorScoresResponse, type ValidatorStatus, type WaitlistSignupRequest, type WaitlistSignupResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, client, closeQualifying, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, discardAgentVersion, generateAuthHeaders, getAgentVersion, getAgentVersionCode, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentRaces, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getRaceDiagnostics, getReaperStats, getRunProblems, getRunningEvaluations, getSuiteProblems, getTopAgent, getTopHistory, getValidatorScores, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listMinerAgents, listMiners, listSuites, listValidators, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, requestChallenge, setTopAgent, storeChutesToken, submitAgent, unbanMiner, unbanValidator, updateProgress };
|
|
4227
|
+
export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdminAgentCodeResponse, type AdminAgentVersionEntry, type AdminAgentVersionsResponse, type AdminEvaluationRunEntry, type AdminEvaluationRunsResponse, type AdminMinerEntry, type AdminMinersResponse, type AdminValidatorEntry, type AdminValidatorsResponse, type AdmissionReason, type AdmissionStatus, type AgentLatestVersion, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionScoreEntry, type AgentVersionState, type AgentVersionStatus, type AgentVersionVariance, type AgentVersionVarianceResponse, type AlreadyInvalidatedError, type ArtifactDownloadRequest, type ArtifactDownloadResponse, type ArtifactNotFoundError, type ArtifactNotReleasedError, type ArtifactReleaseState, type ArtifactType, type AtCapacityError, type AuditEventEntry, type AuditEventsResponse, type BanMinerData, type BanMinerError, type BanMinerResponse, type BanRequest, type BanResponse, type BanValidatorData, type BanValidatorError, type BanValidatorResponse, type BittensorAuthConfig, type Body_submit_agent, type CachedSession, type CancelAgentVersionData, type CancelAgentVersionError, type CancelAgentVersionResponse, type CancelRequest, type CancelResponse, type ChallengeRequest, type ChallengeResponse, type ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type ClearMinerCooldownData, type ClearMinerCooldownError, type ClearMinerCooldownResponse, type CloseQualifyingError, type CloseQualifyingResponse, type CloseQualifyingResponse2, type CodeAnalysisError, type CompleteRunData, type CompleteRunError, type CompleteRunRequest, type CompleteRunResponse, type CompleteRunResponse2, type CooldownActiveError, type CreateSessionEndpointData, type CreateSessionEndpointError, type CreateSessionEndpointResponse, type CreateSuiteData, type CreateSuiteError, type CreateSuiteRequest, type CreateSuiteResponse, type CreateSuiteResponse2, type CurrentRacesResponse, type DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type FileTooLargeError, type GetAgentVersionCodeData, type GetAgentVersionCodeError, type GetAgentVersionCodeResponse, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionProblemsData, type GetAgentVersionProblemsError, type GetAgentVersionProblemsResponse, type GetAgentVersionResponse, type GetAgentVersionRunsData, type GetAgentVersionRunsError, type GetAgentVersionRunsResponse, type GetAgentVersionStatusData, type GetAgentVersionStatusError, type GetAgentVersionStatusResponse, type GetAgentVersionVarianceData, type GetAgentVersionVarianceError, type GetAgentVersionVarianceResponse, type GetArtifactDownloadUrlData, type GetArtifactDownloadUrlError, type GetArtifactDownloadUrlResponse, type GetAuditEventsData, type GetAuditEventsError, type GetAuditEventsResponse, type GetChutesAuthStatusError, type GetChutesAuthStatusResponse, type GetCurrentRaceError, type GetCurrentRaceResponse, type GetCurrentRacesError, type GetCurrentRacesResponse, type GetCurrentSuiteError, type GetCurrentSuiteResponse, type GetEvaluationRunData, type GetEvaluationRunError, type GetEvaluationRunResponse, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardResponse, type GetOwnedAgentVersionStatusData, type GetOwnedAgentVersionStatusError, type GetOwnedAgentVersionStatusResponse, type GetPendingEvaluationsData, type GetPendingEvaluationsError, type GetPendingEvaluationsResponse, type GetRaceDetailData, type GetRaceDetailError, type GetRaceDetailResponse, type GetRaceDiagnosticsData, type GetRaceDiagnosticsError, type GetRaceDiagnosticsResponse, type GetRaceHistoryData, type GetRaceHistoryError, type GetRaceHistoryResponse, type GetReaperStatsError, type GetReaperStatsResponse, type GetRunProblemsData, type GetRunProblemsError, type GetRunProblemsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetTopHistoryData, type GetTopHistoryError, type GetTopHistoryResponse, type GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InvalidAgentNameError, type InvalidArtifactTypeError, type InvalidFileError, type InvalidProblemIdError, type InvalidateEvaluationRunData, type InvalidateEvaluationRunError, type InvalidateEvaluationRunResponse, type InvalidateRunRequest, type JoinWaitlistData, type JoinWaitlistError, type JoinWaitlistResponse, type LeaderboardEntry, type LeaderboardResponse, type LeaseExpiredError, type ListAgentVersions1Data, type ListAgentVersions1Error, type ListAgentVersions1Response, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsResponse, type ListEvaluationRunsData, type ListEvaluationRunsError, type ListEvaluationRunsResponse, type ListMinerAgentsError, type ListMinerAgentsResponse, type ListMinersData, type ListMinersError, type ListMinersResponse, type ListSuitesError, type ListSuitesResponse, type ListValidatorsData, type ListValidatorsError, type ListValidatorsResponse, type LogoutData, type LogoutError, type LogoutResponse, type LogoutResponse2, type MinerAgentsResponse, type MinerNotFoundError, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NotRunOwnerError, type OroErrorCode, type PendingEvaluation, type PendingEvaluationSummary, type PendingEvaluationsResponse, type PresignUploadData, type PresignUploadError, type PresignUploadRequest, type PresignUploadResponse, type PresignUploadResponse2, type ProblemNotFoundError, type ProblemProgressEntry, type ProblemProgressUpdate, type ProblemPublic, type ProblemStatus, type ProgressUpdateRequest, type ProgressUpdateResponse, type RaceCurrentResponse, type RaceDetailResponse, type RaceDiagnosticsResponse, type RaceHistoryResponse, type RaceNotFoundError, type RacePublic, type RaceQualifierEntry, type RaceQualifierPublic, type RaceSummary, type RaceWorkItemEntry, type RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateRequest, type RequestChallengeData, type RequestChallengeError, type RequestChallengeResponse, type RetryConfig, type RetryContext, type RunAlreadyCompleteError, type RunProblemsResponse, type RunningEvaluation, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type TopHistoryEntry, type TopHistoryResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type ValidationError, type ValidatorCurrentAgent, type ValidatorNotFoundError, type ValidatorProblemResult, type ValidatorPublic, type ValidatorScoreSummary, type ValidatorScoresResponse, type ValidatorStatus, type WaitlistSignupRequest, type WaitlistSignupResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, client, closeQualifying, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, discardAgentVersion, generateAuthHeaders, getAgentVersion, getAgentVersionCode, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentRace, getCurrentRaces, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getRaceDetail, getRaceDiagnostics, getRaceHistory, getReaperStats, getRunProblems, getRunningEvaluations, getSuiteProblems, getTopAgent, getTopHistory, getValidatorScores, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listMinerAgents, listMiners, listSuites, listValidators, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, requestChallenge, setTopAgent, storeChutesToken, submitAgent, unbanMiner, unbanValidator, updateProgress };
|
package/dist/index.js
CHANGED
|
@@ -60,6 +60,7 @@ __export(index_exports, {
|
|
|
60
60
|
getArtifactDownloadUrl: () => getArtifactDownloadUrl,
|
|
61
61
|
getAuditEvents: () => getAuditEvents,
|
|
62
62
|
getChutesAuthStatus: () => getChutesAuthStatus,
|
|
63
|
+
getCurrentRace: () => getCurrentRace,
|
|
63
64
|
getCurrentRaces: () => getCurrentRaces,
|
|
64
65
|
getCurrentSuite: () => getCurrentSuite,
|
|
65
66
|
getErrorCode: () => getErrorCode,
|
|
@@ -68,7 +69,9 @@ __export(index_exports, {
|
|
|
68
69
|
getLeaderboard: () => getLeaderboard,
|
|
69
70
|
getOwnedAgentVersionStatus: () => getOwnedAgentVersionStatus,
|
|
70
71
|
getPendingEvaluations: () => getPendingEvaluations,
|
|
72
|
+
getRaceDetail: () => getRaceDetail,
|
|
71
73
|
getRaceDiagnostics: () => getRaceDiagnostics,
|
|
74
|
+
getRaceHistory: () => getRaceHistory,
|
|
72
75
|
getReaperStats: () => getReaperStats,
|
|
73
76
|
getRunProblems: () => getRunProblems,
|
|
74
77
|
getRunningEvaluations: () => getRunningEvaluations,
|
|
@@ -206,6 +209,24 @@ var getPendingEvaluations = (options) => {
|
|
|
206
209
|
url: "/v1/public/evaluations/pending"
|
|
207
210
|
});
|
|
208
211
|
};
|
|
212
|
+
var getCurrentRace = (options) => {
|
|
213
|
+
return (options?.client ?? client).get({
|
|
214
|
+
...options,
|
|
215
|
+
url: "/v1/public/races/current"
|
|
216
|
+
});
|
|
217
|
+
};
|
|
218
|
+
var getRaceHistory = (options) => {
|
|
219
|
+
return (options?.client ?? client).get({
|
|
220
|
+
...options,
|
|
221
|
+
url: "/v1/public/races/history"
|
|
222
|
+
});
|
|
223
|
+
};
|
|
224
|
+
var getRaceDetail = (options) => {
|
|
225
|
+
return (options?.client ?? client).get({
|
|
226
|
+
...options,
|
|
227
|
+
url: "/v1/public/races/{race_id}"
|
|
228
|
+
});
|
|
229
|
+
};
|
|
209
230
|
var joinWaitlist = (options) => {
|
|
210
231
|
return (options?.client ?? client).post({
|
|
211
232
|
...options,
|
|
@@ -849,6 +870,7 @@ function configureSessionAuth(baseUrl, config) {
|
|
|
849
870
|
getArtifactDownloadUrl,
|
|
850
871
|
getAuditEvents,
|
|
851
872
|
getChutesAuthStatus,
|
|
873
|
+
getCurrentRace,
|
|
852
874
|
getCurrentRaces,
|
|
853
875
|
getCurrentSuite,
|
|
854
876
|
getErrorCode,
|
|
@@ -857,7 +879,9 @@ function configureSessionAuth(baseUrl, config) {
|
|
|
857
879
|
getLeaderboard,
|
|
858
880
|
getOwnedAgentVersionStatus,
|
|
859
881
|
getPendingEvaluations,
|
|
882
|
+
getRaceDetail,
|
|
860
883
|
getRaceDiagnostics,
|
|
884
|
+
getRaceHistory,
|
|
861
885
|
getReaperStats,
|
|
862
886
|
getRunProblems,
|
|
863
887
|
getRunningEvaluations,
|
package/dist/index.mjs
CHANGED
|
@@ -97,6 +97,24 @@ var getPendingEvaluations = (options) => {
|
|
|
97
97
|
url: "/v1/public/evaluations/pending"
|
|
98
98
|
});
|
|
99
99
|
};
|
|
100
|
+
var getCurrentRace = (options) => {
|
|
101
|
+
return (options?.client ?? client).get({
|
|
102
|
+
...options,
|
|
103
|
+
url: "/v1/public/races/current"
|
|
104
|
+
});
|
|
105
|
+
};
|
|
106
|
+
var getRaceHistory = (options) => {
|
|
107
|
+
return (options?.client ?? client).get({
|
|
108
|
+
...options,
|
|
109
|
+
url: "/v1/public/races/history"
|
|
110
|
+
});
|
|
111
|
+
};
|
|
112
|
+
var getRaceDetail = (options) => {
|
|
113
|
+
return (options?.client ?? client).get({
|
|
114
|
+
...options,
|
|
115
|
+
url: "/v1/public/races/{race_id}"
|
|
116
|
+
});
|
|
117
|
+
};
|
|
100
118
|
var joinWaitlist = (options) => {
|
|
101
119
|
return (options?.client ?? client).post({
|
|
102
120
|
...options,
|
|
@@ -739,6 +757,7 @@ export {
|
|
|
739
757
|
getArtifactDownloadUrl,
|
|
740
758
|
getAuditEvents,
|
|
741
759
|
getChutesAuthStatus,
|
|
760
|
+
getCurrentRace,
|
|
742
761
|
getCurrentRaces,
|
|
743
762
|
getCurrentSuite,
|
|
744
763
|
getErrorCode,
|
|
@@ -747,7 +766,9 @@ export {
|
|
|
747
766
|
getLeaderboard,
|
|
748
767
|
getOwnedAgentVersionStatus,
|
|
749
768
|
getPendingEvaluations,
|
|
769
|
+
getRaceDetail,
|
|
750
770
|
getRaceDiagnostics,
|
|
771
|
+
getRaceHistory,
|
|
751
772
|
getReaperStats,
|
|
752
773
|
getRunProblems,
|
|
753
774
|
getRunningEvaluations,
|
package/package.json
CHANGED
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
3
|
import { createClient, createConfig, type OptionsLegacyParser, formDataBodySerializer } from '@hey-api/client-fetch';
|
|
4
|
-
import type { HealthCheckError, HealthCheckResponse, ListSuitesError, ListSuitesResponse, GetCurrentSuiteError, GetCurrentSuiteResponse, GetSuiteProblemsData, GetSuiteProblemsError, GetSuiteProblemsResponse, GetLeaderboardData, GetLeaderboardError, GetLeaderboardResponse, GetTopAgentError, GetTopAgentResponse, GetTopHistoryData, GetTopHistoryError, GetTopHistoryResponse, GetAgentVersionStatusData, GetAgentVersionStatusError, GetAgentVersionStatusResponse, GetAgentVersionRunsData, GetAgentVersionRunsError, GetAgentVersionRunsResponse, GetAgentVersionProblemsData, GetAgentVersionProblemsError, GetAgentVersionProblemsResponse, GetAgentVersionData, GetAgentVersionError, GetAgentVersionResponse, GetArtifactDownloadUrlData, GetArtifactDownloadUrlError, GetArtifactDownloadUrlResponse, GetEvaluationRunData, GetEvaluationRunError, GetEvaluationRunResponse, GetValidatorsError, GetValidatorsResponse, GetRunningEvaluationsError, GetRunningEvaluationsResponse, GetPendingEvaluationsData, GetPendingEvaluationsError, GetPendingEvaluationsResponse, JoinWaitlistData, JoinWaitlistError, JoinWaitlistResponse, RequestChallengeData, RequestChallengeError, RequestChallengeResponse, CreateSessionEndpointData, CreateSessionEndpointError, CreateSessionEndpointResponse, LogoutData, LogoutError, LogoutResponse2, SubmitAgentData, SubmitAgentError, SubmitAgentResponse2, StoreChutesTokenData, StoreChutesTokenError, StoreChutesTokenResponse, GetChutesAuthStatusError, GetChutesAuthStatusResponse, ListMinerAgentsError, ListMinerAgentsResponse, ListAgentVersionsData, ListAgentVersionsError, ListAgentVersionsResponse, GetOwnedAgentVersionStatusData, GetOwnedAgentVersionStatusError, GetOwnedAgentVersionStatusResponse, ClaimWorkData, ClaimWorkError, ClaimWorkResponse2, HeartbeatData, HeartbeatError, HeartbeatResponse2, UpdateProgressData, UpdateProgressError, UpdateProgressResponse, PresignUploadData, PresignUploadError, PresignUploadResponse2, CompleteRunData, CompleteRunError, CompleteRunResponse2, GetRunProblemsData, GetRunProblemsError, GetRunProblemsResponse, BanMinerData, BanMinerError, BanMinerResponse, UnbanMinerData, UnbanMinerError, UnbanMinerResponse, BanValidatorData, BanValidatorError, BanValidatorResponse, UnbanValidatorData, UnbanValidatorError, UnbanValidatorResponse, DiscardAgentVersionData, DiscardAgentVersionError, DiscardAgentVersionResponse, ReinstateAgentVersionData, ReinstateAgentVersionError, ReinstateAgentVersionResponse, SetTopAgentData, SetTopAgentError, SetTopAgentResponse, InvalidateEvaluationRunData, InvalidateEvaluationRunError, InvalidateEvaluationRunResponse, ReevaluateAgentVersionData, ReevaluateAgentVersionError, ReevaluateAgentVersionResponse, CancelAgentVersionData, CancelAgentVersionError, CancelAgentVersionResponse, CreateSuiteData, CreateSuiteError, CreateSuiteResponse2, ActivateSuiteData, ActivateSuiteError, ActivateSuiteResponse2, GetAuditEventsData, GetAuditEventsError, GetAuditEventsResponse, GetReaperStatsError, GetReaperStatsResponse, ClearMinerCooldownData, ClearMinerCooldownError, ClearMinerCooldownResponse, ListMinersData, ListMinersError, ListMinersResponse, ListValidatorsData, ListValidatorsError, ListValidatorsResponse, ListAgentVersions1Data, ListAgentVersions1Error, ListAgentVersions1Response, ListEvaluationRunsData, ListEvaluationRunsError, ListEvaluationRunsResponse, GetValidatorScoresData, GetValidatorScoresError, GetValidatorScoresResponse, GetAgentVersionVarianceData, GetAgentVersionVarianceError, GetAgentVersionVarianceResponse, GetAgentVersionCodeData, GetAgentVersionCodeError, GetAgentVersionCodeResponse, GetCurrentRacesError, GetCurrentRacesResponse, GetRaceDiagnosticsData, GetRaceDiagnosticsError, GetRaceDiagnosticsResponse, CloseQualifyingError, CloseQualifyingResponse2 } from './types.gen';
|
|
4
|
+
import type { HealthCheckError, HealthCheckResponse, ListSuitesError, ListSuitesResponse, GetCurrentSuiteError, GetCurrentSuiteResponse, GetSuiteProblemsData, GetSuiteProblemsError, GetSuiteProblemsResponse, GetLeaderboardData, GetLeaderboardError, GetLeaderboardResponse, GetTopAgentError, GetTopAgentResponse, GetTopHistoryData, GetTopHistoryError, GetTopHistoryResponse, GetAgentVersionStatusData, GetAgentVersionStatusError, GetAgentVersionStatusResponse, GetAgentVersionRunsData, GetAgentVersionRunsError, GetAgentVersionRunsResponse, GetAgentVersionProblemsData, GetAgentVersionProblemsError, GetAgentVersionProblemsResponse, GetAgentVersionData, GetAgentVersionError, GetAgentVersionResponse, GetArtifactDownloadUrlData, GetArtifactDownloadUrlError, GetArtifactDownloadUrlResponse, GetEvaluationRunData, GetEvaluationRunError, GetEvaluationRunResponse, GetValidatorsError, GetValidatorsResponse, GetRunningEvaluationsError, GetRunningEvaluationsResponse, GetPendingEvaluationsData, GetPendingEvaluationsError, GetPendingEvaluationsResponse, GetCurrentRaceError, GetCurrentRaceResponse, GetRaceHistoryData, GetRaceHistoryError, GetRaceHistoryResponse, GetRaceDetailData, GetRaceDetailError, GetRaceDetailResponse, JoinWaitlistData, JoinWaitlistError, JoinWaitlistResponse, RequestChallengeData, RequestChallengeError, RequestChallengeResponse, CreateSessionEndpointData, CreateSessionEndpointError, CreateSessionEndpointResponse, LogoutData, LogoutError, LogoutResponse2, SubmitAgentData, SubmitAgentError, SubmitAgentResponse2, StoreChutesTokenData, StoreChutesTokenError, StoreChutesTokenResponse, GetChutesAuthStatusError, GetChutesAuthStatusResponse, ListMinerAgentsError, ListMinerAgentsResponse, ListAgentVersionsData, ListAgentVersionsError, ListAgentVersionsResponse, GetOwnedAgentVersionStatusData, GetOwnedAgentVersionStatusError, GetOwnedAgentVersionStatusResponse, ClaimWorkData, ClaimWorkError, ClaimWorkResponse2, HeartbeatData, HeartbeatError, HeartbeatResponse2, UpdateProgressData, UpdateProgressError, UpdateProgressResponse, PresignUploadData, PresignUploadError, PresignUploadResponse2, CompleteRunData, CompleteRunError, CompleteRunResponse2, GetRunProblemsData, GetRunProblemsError, GetRunProblemsResponse, BanMinerData, BanMinerError, BanMinerResponse, UnbanMinerData, UnbanMinerError, UnbanMinerResponse, BanValidatorData, BanValidatorError, BanValidatorResponse, UnbanValidatorData, UnbanValidatorError, UnbanValidatorResponse, DiscardAgentVersionData, DiscardAgentVersionError, DiscardAgentVersionResponse, ReinstateAgentVersionData, ReinstateAgentVersionError, ReinstateAgentVersionResponse, SetTopAgentData, SetTopAgentError, SetTopAgentResponse, InvalidateEvaluationRunData, InvalidateEvaluationRunError, InvalidateEvaluationRunResponse, ReevaluateAgentVersionData, ReevaluateAgentVersionError, ReevaluateAgentVersionResponse, CancelAgentVersionData, CancelAgentVersionError, CancelAgentVersionResponse, CreateSuiteData, CreateSuiteError, CreateSuiteResponse2, ActivateSuiteData, ActivateSuiteError, ActivateSuiteResponse2, GetAuditEventsData, GetAuditEventsError, GetAuditEventsResponse, GetReaperStatsError, GetReaperStatsResponse, ClearMinerCooldownData, ClearMinerCooldownError, ClearMinerCooldownResponse, ListMinersData, ListMinersError, ListMinersResponse, ListValidatorsData, ListValidatorsError, ListValidatorsResponse, ListAgentVersions1Data, ListAgentVersions1Error, ListAgentVersions1Response, ListEvaluationRunsData, ListEvaluationRunsError, ListEvaluationRunsResponse, GetValidatorScoresData, GetValidatorScoresError, GetValidatorScoresResponse, GetAgentVersionVarianceData, GetAgentVersionVarianceError, GetAgentVersionVarianceResponse, GetAgentVersionCodeData, GetAgentVersionCodeError, GetAgentVersionCodeResponse, GetCurrentRacesError, GetCurrentRacesResponse, GetRaceDiagnosticsData, GetRaceDiagnosticsError, GetRaceDiagnosticsResponse, CloseQualifyingError, CloseQualifyingResponse2 } from './types.gen';
|
|
5
5
|
|
|
6
6
|
export const client = createClient(createConfig());
|
|
7
7
|
|
|
@@ -181,6 +181,39 @@ export const getPendingEvaluations = <ThrowOnError extends boolean = false>(opti
|
|
|
181
181
|
});
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
+
/**
|
|
185
|
+
* Get current race
|
|
186
|
+
* Get the active race for the current suite, if any.
|
|
187
|
+
*/
|
|
188
|
+
export const getCurrentRace = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => {
|
|
189
|
+
return (options?.client ?? client).get<GetCurrentRaceResponse, GetCurrentRaceError, ThrowOnError>({
|
|
190
|
+
...options,
|
|
191
|
+
url: '/v1/public/races/current'
|
|
192
|
+
});
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Get race history
|
|
197
|
+
* Get completed and cancelled races, most recent first.
|
|
198
|
+
*/
|
|
199
|
+
export const getRaceHistory = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetRaceHistoryData, ThrowOnError>) => {
|
|
200
|
+
return (options?.client ?? client).get<GetRaceHistoryResponse, GetRaceHistoryError, ThrowOnError>({
|
|
201
|
+
...options,
|
|
202
|
+
url: '/v1/public/races/history'
|
|
203
|
+
});
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Get race details
|
|
208
|
+
* Get details for a specific race including qualifiers and results.
|
|
209
|
+
*/
|
|
210
|
+
export const getRaceDetail = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetRaceDetailData, ThrowOnError>) => {
|
|
211
|
+
return (options?.client ?? client).get<GetRaceDetailResponse, GetRaceDetailError, ThrowOnError>({
|
|
212
|
+
...options,
|
|
213
|
+
url: '/v1/public/races/{race_id}'
|
|
214
|
+
});
|
|
215
|
+
};
|
|
216
|
+
|
|
184
217
|
/**
|
|
185
218
|
* Join waitlist
|
|
186
219
|
* Submit an email to join the ORO waitlist.
|
|
@@ -1344,6 +1344,14 @@ export type EvaluationRunPublic = {
|
|
|
1344
1344
|
sandbox_metadata?: ({
|
|
1345
1345
|
[key: string]: unknown;
|
|
1346
1346
|
} | null);
|
|
1347
|
+
/**
|
|
1348
|
+
* Evaluation phase (QUALIFYING or RACE)
|
|
1349
|
+
*/
|
|
1350
|
+
phase?: (string | null);
|
|
1351
|
+
/**
|
|
1352
|
+
* Race ID if this is a race-phase evaluation
|
|
1353
|
+
*/
|
|
1354
|
+
race_id?: (string | null);
|
|
1347
1355
|
};
|
|
1348
1356
|
|
|
1349
1357
|
/**
|
|
@@ -1972,6 +1980,34 @@ export type ProgressUpdateResponse = {
|
|
|
1972
1980
|
accepted?: boolean;
|
|
1973
1981
|
};
|
|
1974
1982
|
|
|
1983
|
+
/**
|
|
1984
|
+
* Response for current race state.
|
|
1985
|
+
*/
|
|
1986
|
+
export type RaceCurrentResponse = {
|
|
1987
|
+
/**
|
|
1988
|
+
* Active race, if any
|
|
1989
|
+
*/
|
|
1990
|
+
race?: (RacePublic | null);
|
|
1991
|
+
/**
|
|
1992
|
+
* Qualifiers for the active race
|
|
1993
|
+
*/
|
|
1994
|
+
qualifiers?: Array<RaceQualifierPublic>;
|
|
1995
|
+
};
|
|
1996
|
+
|
|
1997
|
+
/**
|
|
1998
|
+
* Detailed view of a single race.
|
|
1999
|
+
*/
|
|
2000
|
+
export type RaceDetailResponse = {
|
|
2001
|
+
/**
|
|
2002
|
+
* Race information
|
|
2003
|
+
*/
|
|
2004
|
+
race: RacePublic;
|
|
2005
|
+
/**
|
|
2006
|
+
* Qualifiers with scores
|
|
2007
|
+
*/
|
|
2008
|
+
qualifiers?: Array<RaceQualifierPublic>;
|
|
2009
|
+
};
|
|
2010
|
+
|
|
1975
2011
|
/**
|
|
1976
2012
|
* Detailed diagnostics for a specific race.
|
|
1977
2013
|
*/
|
|
@@ -2005,6 +2041,82 @@ export type RaceDiagnosticsResponse = {
|
|
|
2005
2041
|
work_items?: Array<RaceWorkItemEntry>;
|
|
2006
2042
|
};
|
|
2007
2043
|
|
|
2044
|
+
/**
|
|
2045
|
+
* Paginated list of completed races.
|
|
2046
|
+
*/
|
|
2047
|
+
export type RaceHistoryResponse = {
|
|
2048
|
+
/**
|
|
2049
|
+
* Past races
|
|
2050
|
+
*/
|
|
2051
|
+
races: Array<RacePublic>;
|
|
2052
|
+
/**
|
|
2053
|
+
* Total count
|
|
2054
|
+
*/
|
|
2055
|
+
total: number;
|
|
2056
|
+
/**
|
|
2057
|
+
* Page size
|
|
2058
|
+
*/
|
|
2059
|
+
limit: number;
|
|
2060
|
+
/**
|
|
2061
|
+
* Page offset
|
|
2062
|
+
*/
|
|
2063
|
+
offset: number;
|
|
2064
|
+
};
|
|
2065
|
+
|
|
2066
|
+
/**
|
|
2067
|
+
* 404 - Race not found.
|
|
2068
|
+
*/
|
|
2069
|
+
export type RaceNotFoundError = {
|
|
2070
|
+
/**
|
|
2071
|
+
* Error message describing what went wrong
|
|
2072
|
+
*/
|
|
2073
|
+
detail: string;
|
|
2074
|
+
/**
|
|
2075
|
+
* Error code for programmatic handling
|
|
2076
|
+
*/
|
|
2077
|
+
error_code?: "RACE_NOT_FOUND";
|
|
2078
|
+
};
|
|
2079
|
+
|
|
2080
|
+
/**
|
|
2081
|
+
* Public view of a race — extends RaceBase with public-facing fields.
|
|
2082
|
+
*/
|
|
2083
|
+
export type RacePublic = {
|
|
2084
|
+
/**
|
|
2085
|
+
* Race ID
|
|
2086
|
+
*/
|
|
2087
|
+
race_id: string;
|
|
2088
|
+
/**
|
|
2089
|
+
* Problem suite ID
|
|
2090
|
+
*/
|
|
2091
|
+
suite_id: number;
|
|
2092
|
+
race_number?: (number | null);
|
|
2093
|
+
/**
|
|
2094
|
+
* Current race status
|
|
2095
|
+
*/
|
|
2096
|
+
status: string;
|
|
2097
|
+
qualifying_closes_at?: (string | null);
|
|
2098
|
+
race_started_at?: (string | null);
|
|
2099
|
+
race_completed_at?: (string | null);
|
|
2100
|
+
winner_agent_version_id?: (string | null);
|
|
2101
|
+
winner_score?: (number | null);
|
|
2102
|
+
/**
|
|
2103
|
+
* Minimum score to qualify
|
|
2104
|
+
*/
|
|
2105
|
+
qualifying_threshold?: (number | null);
|
|
2106
|
+
/**
|
|
2107
|
+
* Winning agent name
|
|
2108
|
+
*/
|
|
2109
|
+
winner_agent_name?: (string | null);
|
|
2110
|
+
/**
|
|
2111
|
+
* Number of qualifiers
|
|
2112
|
+
*/
|
|
2113
|
+
qualifier_count?: number;
|
|
2114
|
+
/**
|
|
2115
|
+
* When race was created
|
|
2116
|
+
*/
|
|
2117
|
+
created_at: string;
|
|
2118
|
+
};
|
|
2119
|
+
|
|
2008
2120
|
/**
|
|
2009
2121
|
* A qualifier in a race.
|
|
2010
2122
|
*/
|
|
@@ -2035,6 +2147,40 @@ export type RaceQualifierEntry = {
|
|
|
2035
2147
|
race_score?: (number | null);
|
|
2036
2148
|
};
|
|
2037
2149
|
|
|
2150
|
+
/**
|
|
2151
|
+
* A qualifier in a race (public view) — extends RaceQualifierEntry with rank.
|
|
2152
|
+
*/
|
|
2153
|
+
export type RaceQualifierPublic = {
|
|
2154
|
+
/**
|
|
2155
|
+
* Agent version ID
|
|
2156
|
+
*/
|
|
2157
|
+
agent_version_id: string;
|
|
2158
|
+
/**
|
|
2159
|
+
* Agent name
|
|
2160
|
+
*/
|
|
2161
|
+
agent_name?: (string | null);
|
|
2162
|
+
/**
|
|
2163
|
+
* Miner hotkey
|
|
2164
|
+
*/
|
|
2165
|
+
miner_hotkey?: (string | null);
|
|
2166
|
+
/**
|
|
2167
|
+
* How agent qualified (INCUMBENT or SCORED)
|
|
2168
|
+
*/
|
|
2169
|
+
qualification_type: string;
|
|
2170
|
+
/**
|
|
2171
|
+
* Score from qualifying
|
|
2172
|
+
*/
|
|
2173
|
+
qualifying_score?: (number | null);
|
|
2174
|
+
/**
|
|
2175
|
+
* Score from race phase
|
|
2176
|
+
*/
|
|
2177
|
+
race_score?: (number | null);
|
|
2178
|
+
/**
|
|
2179
|
+
* Final rank in race (1 = winner)
|
|
2180
|
+
*/
|
|
2181
|
+
race_rank?: (number | null);
|
|
2182
|
+
};
|
|
2183
|
+
|
|
2038
2184
|
/**
|
|
2039
2185
|
* Summary of a race for the current state view.
|
|
2040
2186
|
*/
|
|
@@ -2971,6 +3117,12 @@ export type GetAgentVersionProblemsData = {
|
|
|
2971
3117
|
*/
|
|
2972
3118
|
agent_version_id: string;
|
|
2973
3119
|
};
|
|
3120
|
+
query?: {
|
|
3121
|
+
/**
|
|
3122
|
+
* Filter by evaluation phase (QUALIFYING or RACE)
|
|
3123
|
+
*/
|
|
3124
|
+
phase?: (string | null);
|
|
3125
|
+
};
|
|
2974
3126
|
};
|
|
2975
3127
|
|
|
2976
3128
|
export type GetAgentVersionProblemsResponse = (AgentVersionProblemsResponse);
|
|
@@ -3040,6 +3192,44 @@ export type GetPendingEvaluationsResponse = (PendingEvaluationsResponse);
|
|
|
3040
3192
|
|
|
3041
3193
|
export type GetPendingEvaluationsError = (HTTPValidationError);
|
|
3042
3194
|
|
|
3195
|
+
export type GetCurrentRaceResponse = (RaceCurrentResponse);
|
|
3196
|
+
|
|
3197
|
+
export type GetCurrentRaceError = unknown;
|
|
3198
|
+
|
|
3199
|
+
export type GetRaceHistoryData = {
|
|
3200
|
+
query?: {
|
|
3201
|
+
/**
|
|
3202
|
+
* Page size
|
|
3203
|
+
*/
|
|
3204
|
+
limit?: number;
|
|
3205
|
+
/**
|
|
3206
|
+
* Page offset
|
|
3207
|
+
*/
|
|
3208
|
+
offset?: number;
|
|
3209
|
+
/**
|
|
3210
|
+
* Filter by suite ID
|
|
3211
|
+
*/
|
|
3212
|
+
suite_id?: (number | null);
|
|
3213
|
+
};
|
|
3214
|
+
};
|
|
3215
|
+
|
|
3216
|
+
export type GetRaceHistoryResponse = (RaceHistoryResponse);
|
|
3217
|
+
|
|
3218
|
+
export type GetRaceHistoryError = (HTTPValidationError);
|
|
3219
|
+
|
|
3220
|
+
export type GetRaceDetailData = {
|
|
3221
|
+
path: {
|
|
3222
|
+
/**
|
|
3223
|
+
* Race ID
|
|
3224
|
+
*/
|
|
3225
|
+
race_id: string;
|
|
3226
|
+
};
|
|
3227
|
+
};
|
|
3228
|
+
|
|
3229
|
+
export type GetRaceDetailResponse = (RaceDetailResponse);
|
|
3230
|
+
|
|
3231
|
+
export type GetRaceDetailError = (RaceNotFoundError | HTTPValidationError);
|
|
3232
|
+
|
|
3043
3233
|
export type JoinWaitlistData = {
|
|
3044
3234
|
body: WaitlistSignupRequest;
|
|
3045
3235
|
};
|