@oro-ai/sdk 0.6.8 → 0.6.9
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/README.md +0 -18
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +1 -1
- package/src/generated/types.gen.ts +1 -1
package/README.md
CHANGED
|
@@ -6,24 +6,6 @@ This SDK is auto-generated from the OpenAPI specification using [@hey-api/openap
|
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
9
|
-
This package is hosted on GitHub Packages. First, configure npm to use GitHub Packages for the `@oro-ai` scope.
|
|
10
|
-
|
|
11
|
-
**1. Create a GitHub Personal Access Token** with `read:packages` scope at https://github.com/settings/tokens
|
|
12
|
-
|
|
13
|
-
**2. Add to your project's `.npmrc`:**
|
|
14
|
-
|
|
15
|
-
```
|
|
16
|
-
@oro-ai:registry=https://npm.pkg.github.com
|
|
17
|
-
//npm.pkg.github.com/:_authToken=YOUR_GITHUB_TOKEN
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
Or authenticate via npm login:
|
|
21
|
-
```bash
|
|
22
|
-
npm login --scope=@oro-ai --registry=https://npm.pkg.github.com
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
**3. Install the package:**
|
|
26
|
-
|
|
27
9
|
```bash
|
|
28
10
|
npm install @oro-ai/sdk @hey-api/client-fetch
|
|
29
11
|
```
|
package/dist/index.d.mts
CHANGED
|
@@ -1979,7 +1979,7 @@ type UpdateProgressData = {
|
|
|
1979
1979
|
};
|
|
1980
1980
|
};
|
|
1981
1981
|
type UpdateProgressResponse = (ProgressUpdateResponse);
|
|
1982
|
-
type UpdateProgressError = (InvalidProblemIdError | EvalRunNotFoundError |
|
|
1982
|
+
type UpdateProgressError = (InvalidProblemIdError | EvalRunNotFoundError | NotRunOwnerError | HTTPValidationError);
|
|
1983
1983
|
type PresignUploadData = {
|
|
1984
1984
|
body: PresignUploadRequest;
|
|
1985
1985
|
};
|
|
@@ -2280,7 +2280,7 @@ declare const claimWork: <ThrowOnError extends boolean = false>(options?: Option
|
|
|
2280
2280
|
declare const heartbeat: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HeartbeatData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<HeartbeatResponse, HeartbeatError, ThrowOnError>;
|
|
2281
2281
|
/**
|
|
2282
2282
|
* Update progress
|
|
2283
|
-
* Report per-problem progress during evaluation.
|
|
2283
|
+
* Report per-problem progress during evaluation. Accepts updates even after run completion so late-arriving scores and log keys are not lost.
|
|
2284
2284
|
*/
|
|
2285
2285
|
declare const updateProgress: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateProgressData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProgressUpdateResponse, UpdateProgressError, ThrowOnError>;
|
|
2286
2286
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1979,7 +1979,7 @@ type UpdateProgressData = {
|
|
|
1979
1979
|
};
|
|
1980
1980
|
};
|
|
1981
1981
|
type UpdateProgressResponse = (ProgressUpdateResponse);
|
|
1982
|
-
type UpdateProgressError = (InvalidProblemIdError | EvalRunNotFoundError |
|
|
1982
|
+
type UpdateProgressError = (InvalidProblemIdError | EvalRunNotFoundError | NotRunOwnerError | HTTPValidationError);
|
|
1983
1983
|
type PresignUploadData = {
|
|
1984
1984
|
body: PresignUploadRequest;
|
|
1985
1985
|
};
|
|
@@ -2280,7 +2280,7 @@ declare const claimWork: <ThrowOnError extends boolean = false>(options?: Option
|
|
|
2280
2280
|
declare const heartbeat: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HeartbeatData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<HeartbeatResponse, HeartbeatError, ThrowOnError>;
|
|
2281
2281
|
/**
|
|
2282
2282
|
* Update progress
|
|
2283
|
-
* Report per-problem progress during evaluation.
|
|
2283
|
+
* Report per-problem progress during evaluation. Accepts updates even after run completion so late-arriving scores and log keys are not lost.
|
|
2284
2284
|
*/
|
|
2285
2285
|
declare const updateProgress: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateProgressData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProgressUpdateResponse, UpdateProgressError, ThrowOnError>;
|
|
2286
2286
|
/**
|
package/package.json
CHANGED
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -275,7 +275,7 @@ export const heartbeat = <ThrowOnError extends boolean = false>(options: Options
|
|
|
275
275
|
|
|
276
276
|
/**
|
|
277
277
|
* Update progress
|
|
278
|
-
* Report per-problem progress during evaluation.
|
|
278
|
+
* Report per-problem progress during evaluation. Accepts updates even after run completion so late-arriving scores and log keys are not lost.
|
|
279
279
|
*/
|
|
280
280
|
export const updateProgress = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateProgressData, ThrowOnError>) => {
|
|
281
281
|
return (options?.client ?? client).post<UpdateProgressResponse, UpdateProgressError, ThrowOnError>({
|
|
@@ -2140,7 +2140,7 @@ export type UpdateProgressData = {
|
|
|
2140
2140
|
|
|
2141
2141
|
export type UpdateProgressResponse = (ProgressUpdateResponse);
|
|
2142
2142
|
|
|
2143
|
-
export type UpdateProgressError = (InvalidProblemIdError | EvalRunNotFoundError |
|
|
2143
|
+
export type UpdateProgressError = (InvalidProblemIdError | EvalRunNotFoundError | NotRunOwnerError | HTTPValidationError);
|
|
2144
2144
|
|
|
2145
2145
|
export type PresignUploadData = {
|
|
2146
2146
|
body: PresignUploadRequest;
|