@coval/sdk 0.7.0 → 0.7.2
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/CovalClient.d.ts +3 -2
- package/dist/CovalClient.d.ts.map +1 -1
- package/dist/CovalClient.js +4 -1
- package/dist/CovalClient.js.map +1 -1
- package/dist/generated/apis/OrganizationUsersApi.d.ts +68 -0
- package/dist/generated/apis/OrganizationUsersApi.d.ts.map +1 -0
- package/dist/generated/apis/OrganizationUsersApi.js +61 -0
- package/dist/generated/apis/OrganizationUsersApi.js.map +1 -0
- package/dist/generated/apis/ReviewAnnotationsApi.d.ts +16 -16
- package/dist/generated/apis/ReviewAnnotationsApi.js +6 -6
- package/dist/generated/apis/ReviewProjectsApi.d.ts +4 -4
- package/dist/generated/apis/ReviewProjectsApi.js +2 -2
- package/dist/generated/apis/SimulatedConversationsApi.d.ts +84 -0
- package/dist/generated/apis/SimulatedConversationsApi.d.ts.map +1 -1
- package/dist/generated/apis/SimulatedConversationsApi.js +85 -0
- package/dist/generated/apis/SimulatedConversationsApi.js.map +1 -1
- package/dist/generated/apis/index.d.ts +1 -0
- package/dist/generated/apis/index.d.ts.map +1 -1
- package/dist/generated/apis/index.js +1 -0
- package/dist/generated/apis/index.js.map +1 -1
- package/dist/generated/models/CovalAgentsAPIAgentResourceModelType.d.ts +1 -0
- package/dist/generated/models/CovalAgentsAPIAgentResourceModelType.d.ts.map +1 -1
- package/dist/generated/models/CovalAgentsAPIAgentResourceModelType.js +1 -0
- package/dist/generated/models/CovalAgentsAPIAgentResourceModelType.js.map +1 -1
- package/dist/generated/models/CovalAgentsAPISimulatorType.d.ts +2 -0
- package/dist/generated/models/CovalAgentsAPISimulatorType.d.ts.map +1 -1
- package/dist/generated/models/CovalAgentsAPISimulatorType.js +2 -0
- package/dist/generated/models/CovalAgentsAPISimulatorType.js.map +1 -1
- package/dist/generated/models/CovalMetricsAPIMetricVersionResource.d.ts +1 -1
- package/dist/generated/models/CovalMetricsAPIRecentlyDeletedMetricResource.d.ts +1 -1
- package/dist/generated/models/CovalOrganizationAPIListOrganizationUsersResponse.d.ts +40 -0
- package/dist/generated/models/CovalOrganizationAPIListOrganizationUsersResponse.d.ts.map +1 -0
- package/dist/generated/models/CovalOrganizationAPIListOrganizationUsersResponse.js +45 -0
- package/dist/generated/models/CovalOrganizationAPIListOrganizationUsersResponse.js.map +1 -0
- package/dist/generated/models/CovalOrganizationAPIOrganizationUser.d.ts +75 -0
- package/dist/generated/models/CovalOrganizationAPIOrganizationUser.d.ts.map +1 -0
- package/dist/generated/models/CovalOrganizationAPIOrganizationUser.js +60 -0
- package/dist/generated/models/CovalOrganizationAPIOrganizationUser.js.map +1 -0
- package/dist/generated/models/CovalReviewsAPICreateReviewAnnotationRequest.d.ts +2 -2
- package/dist/generated/models/CovalReviewsAPIProjectType.d.ts +1 -1
- package/dist/generated/models/CovalReviewsAPIProjectType.js +1 -1
- package/dist/generated/models/CovalReviewsAPIReviewAnnotationResource.d.ts +2 -2
- package/dist/generated/models/CovalReviewsAPIReviewAnnotationWithMetricVersionResource.d.ts +1 -1
- package/dist/generated/models/CovalReviewsAPIReviewProjectResource.d.ts +6 -0
- package/dist/generated/models/CovalReviewsAPIReviewProjectResource.d.ts.map +1 -1
- package/dist/generated/models/CovalReviewsAPIReviewProjectResource.js +2 -0
- package/dist/generated/models/CovalReviewsAPIReviewProjectResource.js.map +1 -1
- package/dist/generated/models/CovalReviewsAPIUpdateReviewAnnotationRequest.d.ts +7 -3
- package/dist/generated/models/CovalReviewsAPIUpdateReviewAnnotationRequest.d.ts.map +1 -1
- package/dist/generated/models/CovalReviewsAPIUpdateReviewAnnotationRequest.js.map +1 -1
- package/dist/generated/models/CovalReviewsAPIUpdateReviewProjectRequest.d.ts +6 -0
- package/dist/generated/models/CovalReviewsAPIUpdateReviewProjectRequest.d.ts.map +1 -1
- package/dist/generated/models/CovalReviewsAPIUpdateReviewProjectRequest.js +2 -0
- package/dist/generated/models/CovalReviewsAPIUpdateReviewProjectRequest.js.map +1 -1
- package/dist/generated/models/CovalRunTemplatesAPIErrorResponseError.d.ts +1 -0
- package/dist/generated/models/CovalRunTemplatesAPIErrorResponseError.d.ts.map +1 -1
- package/dist/generated/models/CovalRunTemplatesAPIErrorResponseError.js +1 -0
- package/dist/generated/models/CovalRunTemplatesAPIErrorResponseError.js.map +1 -1
- package/dist/generated/models/CovalRunsAPIError.d.ts +1 -0
- package/dist/generated/models/CovalRunsAPIError.d.ts.map +1 -1
- package/dist/generated/models/CovalRunsAPIError.js +1 -0
- package/dist/generated/models/CovalRunsAPIError.js.map +1 -1
- package/dist/generated/models/CovalSimulatedConversationsAPIRerunSimulatedConversationMetricsRequest.d.ts +1 -1
- package/dist/generated/models/GetSimulationAttribute200Response.d.ts +27 -0
- package/dist/generated/models/GetSimulationAttribute200Response.d.ts.map +1 -0
- package/dist/generated/models/GetSimulationAttribute200Response.js +32 -0
- package/dist/generated/models/GetSimulationAttribute200Response.js.map +1 -0
- package/dist/generated/models/GetSimulationConnect200Response.d.ts +76 -0
- package/dist/generated/models/GetSimulationConnect200Response.d.ts.map +1 -0
- package/dist/generated/models/GetSimulationConnect200Response.js +68 -0
- package/dist/generated/models/GetSimulationConnect200Response.js.map +1 -0
- package/dist/generated/models/index.d.ts +4 -0
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +4 -0
- package/dist/generated/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/CovalClient.ts +4 -0
- package/src/generated/apis/OrganizationUsersApi.ts +123 -0
- package/src/generated/apis/ReviewAnnotationsApi.ts +16 -16
- package/src/generated/apis/ReviewProjectsApi.ts +4 -4
- package/src/generated/apis/SimulatedConversationsApi.ts +186 -0
- package/src/generated/apis/index.ts +1 -0
- package/src/generated/models/CovalAgentsAPIAgentResourceModelType.ts +1 -0
- package/src/generated/models/CovalAgentsAPISimulatorType.ts +2 -0
- package/src/generated/models/CovalMetricsAPIMetricVersionResource.ts +1 -1
- package/src/generated/models/CovalMetricsAPIRecentlyDeletedMetricResource.ts +1 -1
- package/src/generated/models/CovalOrganizationAPIListOrganizationUsersResponse.ts +81 -0
- package/src/generated/models/CovalOrganizationAPIOrganizationUser.ts +123 -0
- package/src/generated/models/CovalReviewsAPICreateReviewAnnotationRequest.ts +2 -2
- package/src/generated/models/CovalReviewsAPIProjectType.ts +1 -1
- package/src/generated/models/CovalReviewsAPIReviewAnnotationResource.ts +2 -2
- package/src/generated/models/CovalReviewsAPIReviewAnnotationWithMetricVersionResource.ts +1 -1
- package/src/generated/models/CovalReviewsAPIReviewProjectResource.ts +8 -0
- package/src/generated/models/CovalReviewsAPIUpdateReviewAnnotationRequest.ts +7 -3
- package/src/generated/models/CovalReviewsAPIUpdateReviewProjectRequest.ts +8 -0
- package/src/generated/models/CovalRunTemplatesAPIErrorResponseError.ts +1 -0
- package/src/generated/models/CovalRunsAPIError.ts +1 -0
- package/src/generated/models/CovalSimulatedConversationsAPIRerunSimulatedConversationMetricsRequest.ts +1 -1
- package/src/generated/models/GetSimulationAttribute200Response.ts +46 -0
- package/src/generated/models/GetSimulationConnect200Response.ts +123 -0
- package/src/generated/models/index.ts +4 -0
package/dist/CovalClient.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type RetryOptions } from './retry.js';
|
|
2
2
|
import { type CovalTransportStats } from './stats.js';
|
|
3
|
-
import { APIKeysApi, AgentsApi, AlertEventsApi, AlertsApi, AudioApi, ConversationsApi, DashboardsApi, IntegrationsApi, MetricOutputsApi, MetricsApi, MonitorEventsApi, MonitorsApi, MutationsApi, OrganizationConversationsConfigApi, PersonasApi, ReportsApi, ReviewAnnotationsApi, ReviewProjectsApi, RunTemplatesApi, RunsApi, ScheduledRunsApi, SimulatedConversationsApi, SimulationsApi, SofiaApi, TagsApi, TestCasesApi, TestSetsApi, TracesApi, UploadedConversationsApi, WebhooksApi, WidgetsApi, WorkspacesApi, Configuration, type FetchAPI, type Middleware } from './generated/index.js';
|
|
3
|
+
import { APIKeysApi, AgentsApi, AlertEventsApi, AlertsApi, AudioApi, ConversationsApi, DashboardsApi, IntegrationsApi, MetricOutputsApi, MetricsApi, MonitorEventsApi, MonitorsApi, MutationsApi, OrganizationConversationsConfigApi, OrganizationUsersApi, PersonasApi, ReportsApi, ReviewAnnotationsApi, ReviewProjectsApi, RunTemplatesApi, RunsApi, ScheduledRunsApi, SimulatedConversationsApi, SimulationsApi, SofiaApi, TagsApi, TestCasesApi, TestSetsApi, TracesApi, UploadedConversationsApi, WebhooksApi, WidgetsApi, WorkspacesApi, Configuration, type FetchAPI, type Middleware } from './generated/index.js';
|
|
4
4
|
export interface CovalClientOptions {
|
|
5
5
|
/** Coval API key. Required. Sent as `x-api-key` (lowercase). */
|
|
6
6
|
apiKey: string;
|
|
@@ -18,7 +18,7 @@ export interface CovalClientOptions {
|
|
|
18
18
|
*/
|
|
19
19
|
onDebug?: (message: string) => void;
|
|
20
20
|
}
|
|
21
|
-
export declare const GENERATED_API_PROPERTY_NAMES: readonly ["apiKeys", "agents", "alertEvents", "alerts", "audio", "conversations", "dashboards", "integrations", "metricOutputs", "metrics", "monitorEvents", "monitors", "mutations", "organizationConversationsConfig", "personas", "reports", "reviewAnnotations", "reviewProjects", "runTemplates", "runs", "scheduledRuns", "simulatedConversations", "simulations", "sofia", "tags", "testCases", "testSets", "traces", "uploadedConversations", "webhooks", "widgets", "workspaces"];
|
|
21
|
+
export declare const GENERATED_API_PROPERTY_NAMES: readonly ["apiKeys", "agents", "alertEvents", "alerts", "audio", "conversations", "dashboards", "integrations", "metricOutputs", "metrics", "monitorEvents", "monitors", "mutations", "organizationConversationsConfig", "organizationUsers", "personas", "reports", "reviewAnnotations", "reviewProjects", "runTemplates", "runs", "scheduledRuns", "simulatedConversations", "simulations", "sofia", "tags", "testCases", "testSets", "traces", "uploadedConversations", "webhooks", "widgets", "workspaces"];
|
|
22
22
|
export declare class CovalClient {
|
|
23
23
|
readonly apiKeys: APIKeysApi;
|
|
24
24
|
readonly agents: AgentsApi;
|
|
@@ -34,6 +34,7 @@ export declare class CovalClient {
|
|
|
34
34
|
readonly monitors: MonitorsApi;
|
|
35
35
|
readonly mutations: MutationsApi;
|
|
36
36
|
readonly organizationConversationsConfig: OrganizationConversationsConfigApi;
|
|
37
|
+
readonly organizationUsers: OrganizationUsersApi;
|
|
37
38
|
readonly personas: PersonasApi;
|
|
38
39
|
readonly reports: ReportsApi;
|
|
39
40
|
readonly reviewAnnotations: ReviewAnnotationsApi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CovalClient.d.ts","sourceRoot":"","sources":["../src/CovalClient.ts"],"names":[],"mappings":"AAcA,OAAO,EAAuB,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AACpE,OAAO,EAAwB,KAAK,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAC5E,OAAO,EAEL,UAAU,EACV,SAAS,EACT,cAAc,EACd,SAAS,EACT,QAAQ,EACR,gBAAgB,EAChB,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,kCAAkC,EAClC,WAAW,EACX,UAAU,EACV,oBAAoB,EACpB,iBAAiB,EACjB,eAAe,EACf,OAAO,EACP,gBAAgB,EAChB,yBAAyB,EACzB,cAAc,EACd,QAAQ,EACR,OAAO,EACP,YAAY,EACZ,WAAW,EACX,SAAS,EACT,wBAAwB,EACxB,WAAW,EACX,UAAU,EACV,aAAa,EAEb,aAAa,EACb,KAAK,QAAQ,EACb,KAAK,UAAU,EAChB,MAAM,sBAAsB,CAAC;AAE9B,MAAM,WAAW,kBAAkB;IACjC,gEAAgE;IAChE,MAAM,EAAE,MAAM,CAAC;IACf,sDAAsD;IACtD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,uEAAuE;IACvE,KAAK,CAAC,EAAE,YAAY,GAAG,KAAK,CAAC;IAC7B,yDAAyD;IACzD,UAAU,CAAC,EAAE,UAAU,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OAAO,CAAC;IACvB,QAAQ,CAAC,SAAS,EAAE,YAAY,CAAC;IACjC,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC;IAC/B,QAAQ,CAAC,MAAM,EAAE,SAAS,CAAC;IAC3B,QAAQ,CAAC,qBAAqB,EAAE,wBAAwB,CAAC;IACzD,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC;IAC/B,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAC;IAC7B,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;IAGnC,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;IAEtC;;;;OAIG;IACH,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC;gBAExB,OAAO,EAAE,kBAAkB;CAiExC"}
|
package/dist/CovalClient.js
CHANGED
|
@@ -15,7 +15,7 @@ import { createRetryingFetch } from './retry.js';
|
|
|
15
15
|
import { createTransportStats } from './stats.js';
|
|
16
16
|
import {
|
|
17
17
|
// sdk-api-imports:start
|
|
18
|
-
APIKeysApi, AgentsApi, AlertEventsApi, AlertsApi, AudioApi, ConversationsApi, DashboardsApi, IntegrationsApi, MetricOutputsApi, MetricsApi, MonitorEventsApi, MonitorsApi, MutationsApi, OrganizationConversationsConfigApi, PersonasApi, ReportsApi, ReviewAnnotationsApi, ReviewProjectsApi, RunTemplatesApi, RunsApi, ScheduledRunsApi, SimulatedConversationsApi, SimulationsApi, SofiaApi, TagsApi, TestCasesApi, TestSetsApi, TracesApi, UploadedConversationsApi, WebhooksApi, WidgetsApi, WorkspacesApi,
|
|
18
|
+
APIKeysApi, AgentsApi, AlertEventsApi, AlertsApi, AudioApi, ConversationsApi, DashboardsApi, IntegrationsApi, MetricOutputsApi, MetricsApi, MonitorEventsApi, MonitorsApi, MutationsApi, OrganizationConversationsConfigApi, OrganizationUsersApi, PersonasApi, ReportsApi, ReviewAnnotationsApi, ReviewProjectsApi, RunTemplatesApi, RunsApi, ScheduledRunsApi, SimulatedConversationsApi, SimulationsApi, SofiaApi, TagsApi, TestCasesApi, TestSetsApi, TracesApi, UploadedConversationsApi, WebhooksApi, WidgetsApi, WorkspacesApi,
|
|
19
19
|
// sdk-api-imports:end
|
|
20
20
|
Configuration, } from './generated/index.js';
|
|
21
21
|
const DEFAULT_BASE_URL = 'https://api.coval.dev/v1';
|
|
@@ -35,6 +35,7 @@ export const GENERATED_API_PROPERTY_NAMES = [
|
|
|
35
35
|
'monitors',
|
|
36
36
|
'mutations',
|
|
37
37
|
'organizationConversationsConfig',
|
|
38
|
+
'organizationUsers',
|
|
38
39
|
'personas',
|
|
39
40
|
'reports',
|
|
40
41
|
'reviewAnnotations',
|
|
@@ -71,6 +72,7 @@ export class CovalClient {
|
|
|
71
72
|
monitors;
|
|
72
73
|
mutations;
|
|
73
74
|
organizationConversationsConfig;
|
|
75
|
+
organizationUsers;
|
|
74
76
|
personas;
|
|
75
77
|
reports;
|
|
76
78
|
reviewAnnotations;
|
|
@@ -135,6 +137,7 @@ export class CovalClient {
|
|
|
135
137
|
this.monitors = new MonitorsApi(this.configuration);
|
|
136
138
|
this.mutations = new MutationsApi(this.configuration);
|
|
137
139
|
this.organizationConversationsConfig = new OrganizationConversationsConfigApi(this.configuration);
|
|
140
|
+
this.organizationUsers = new OrganizationUsersApi(this.configuration);
|
|
138
141
|
this.personas = new PersonasApi(this.configuration);
|
|
139
142
|
this.reports = new ReportsApi(this.configuration);
|
|
140
143
|
this.reviewAnnotations = new ReviewAnnotationsApi(this.configuration);
|
package/dist/CovalClient.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CovalClient.js","sourceRoot":"","sources":["../src/CovalClient.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,EAAE;AACF,iDAAiD;AACjD,oEAAoE;AACpE,qEAAqE;AACrE,yEAAyE;AACzE,2EAA2E;AAC3E,EAAE;AACF,2EAA2E;AAC3E,yEAAyE;AACzE,iDAAiD;AAEjD,OAAO,EAAE,oBAAoB,EAAE,MA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E,MAAM,CAAC;gBACjC,SAAS;aACV,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC;AAED,SAAS,aAAa,CACpB,IAAa,EACb,KAAwC;IAExC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;QAAE,OAAO,SAAS,CAAC;IACtC,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC;IAC3B,IAAI,OAAO,MAAM,KAAK,QAAQ;QAAE,OAAO,MAAM,CAAC;IAC9C,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC;IAC1B,IAAI,QAAQ,CAAC,MAAM,CAAC,IAAI,OAAO,MAAM,CAAC,KAAK,CAAC,KAAK,QAAQ,EAAE,CAAC;QAC1D,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,SAAS,QAAQ,CAAC,KAAc;IAC9B,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,CAAC;AACrD,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Coval Agents API
|
|
3
|
+
* Manage configurations for simulations and evaluations.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@coval.dev
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime.js';
|
|
13
|
+
import { type CovalOrganizationAPIListOrganizationUsersResponse } from '../models/CovalOrganizationAPIListOrganizationUsersResponse.js';
|
|
14
|
+
export interface ListOrganizationUsersRequest {
|
|
15
|
+
pageSize?: number;
|
|
16
|
+
pageToken?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* OrganizationUsersApi - interface
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface OrganizationUsersApiInterface
|
|
23
|
+
*/
|
|
24
|
+
export interface OrganizationUsersApiInterface {
|
|
25
|
+
/**
|
|
26
|
+
* Creates request options for listOrganizationUsers without sending the request
|
|
27
|
+
* @param {number} [pageSize] Maximum number of members to return in one page.
|
|
28
|
+
* @param {string} [pageToken] Opaque continuation token from a previous response for this organization.
|
|
29
|
+
* @throws {RequiredError}
|
|
30
|
+
* @memberof OrganizationUsersApiInterface
|
|
31
|
+
*/
|
|
32
|
+
listOrganizationUsersRequestOpts(requestParameters: ListOrganizationUsersRequest): Promise<runtime.RequestOpts>;
|
|
33
|
+
/**
|
|
34
|
+
* Return the current members of the API key\'s organization. Requires organization:read. This organization-wide roster is independent of the key\'s workspace selection. Coval user IDs and timestamps are null for members who have not synchronized to Coval; listing does not create users. Pending invitations and former members are excluded. Headless organizations without a linked Clerk identity return an empty users array and a null next_page_token. They do not accept continuation tokens. Follow next_page_token until it is null to retrieve every member. Tokens are integrity-protected; modified or unsigned tokens return 400. Rotating the Clerk secret invalidates existing tokens; restart pagination from the first page. Members are ordered by Clerk membership creation time ascending. Pagination reflects live membership, rather than a snapshot; changes during traversal can shift page boundaries. Clerk lookup failures return 503 rather than an empty roster. Responses use Cache-Control: no-store, private. Roster reads share a 15-second deadline (reduced when less ingress time remains); exhausted reads return 503.
|
|
35
|
+
* @summary List organization users
|
|
36
|
+
* @param {number} [pageSize] Maximum number of members to return in one page.
|
|
37
|
+
* @param {string} [pageToken] Opaque continuation token from a previous response for this organization.
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
* @memberof OrganizationUsersApiInterface
|
|
41
|
+
*/
|
|
42
|
+
listOrganizationUsersRaw(requestParameters: ListOrganizationUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CovalOrganizationAPIListOrganizationUsersResponse>>;
|
|
43
|
+
/**
|
|
44
|
+
* Return the current members of the API key\'s organization. Requires organization:read. This organization-wide roster is independent of the key\'s workspace selection. Coval user IDs and timestamps are null for members who have not synchronized to Coval; listing does not create users. Pending invitations and former members are excluded. Headless organizations without a linked Clerk identity return an empty users array and a null next_page_token. They do not accept continuation tokens. Follow next_page_token until it is null to retrieve every member. Tokens are integrity-protected; modified or unsigned tokens return 400. Rotating the Clerk secret invalidates existing tokens; restart pagination from the first page. Members are ordered by Clerk membership creation time ascending. Pagination reflects live membership, rather than a snapshot; changes during traversal can shift page boundaries. Clerk lookup failures return 503 rather than an empty roster. Responses use Cache-Control: no-store, private. Roster reads share a 15-second deadline (reduced when less ingress time remains); exhausted reads return 503.
|
|
45
|
+
* List organization users
|
|
46
|
+
*/
|
|
47
|
+
listOrganizationUsers(requestParameters: ListOrganizationUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CovalOrganizationAPIListOrganizationUsersResponse>;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
export declare class OrganizationUsersApi extends runtime.BaseAPI implements OrganizationUsersApiInterface {
|
|
53
|
+
/**
|
|
54
|
+
* Creates request options for listOrganizationUsers without sending the request
|
|
55
|
+
*/
|
|
56
|
+
listOrganizationUsersRequestOpts(requestParameters: ListOrganizationUsersRequest): Promise<runtime.RequestOpts>;
|
|
57
|
+
/**
|
|
58
|
+
* Return the current members of the API key\'s organization. Requires organization:read. This organization-wide roster is independent of the key\'s workspace selection. Coval user IDs and timestamps are null for members who have not synchronized to Coval; listing does not create users. Pending invitations and former members are excluded. Headless organizations without a linked Clerk identity return an empty users array and a null next_page_token. They do not accept continuation tokens. Follow next_page_token until it is null to retrieve every member. Tokens are integrity-protected; modified or unsigned tokens return 400. Rotating the Clerk secret invalidates existing tokens; restart pagination from the first page. Members are ordered by Clerk membership creation time ascending. Pagination reflects live membership, rather than a snapshot; changes during traversal can shift page boundaries. Clerk lookup failures return 503 rather than an empty roster. Responses use Cache-Control: no-store, private. Roster reads share a 15-second deadline (reduced when less ingress time remains); exhausted reads return 503.
|
|
59
|
+
* List organization users
|
|
60
|
+
*/
|
|
61
|
+
listOrganizationUsersRaw(requestParameters: ListOrganizationUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CovalOrganizationAPIListOrganizationUsersResponse>>;
|
|
62
|
+
/**
|
|
63
|
+
* Return the current members of the API key\'s organization. Requires organization:read. This organization-wide roster is independent of the key\'s workspace selection. Coval user IDs and timestamps are null for members who have not synchronized to Coval; listing does not create users. Pending invitations and former members are excluded. Headless organizations without a linked Clerk identity return an empty users array and a null next_page_token. They do not accept continuation tokens. Follow next_page_token until it is null to retrieve every member. Tokens are integrity-protected; modified or unsigned tokens return 400. Rotating the Clerk secret invalidates existing tokens; restart pagination from the first page. Members are ordered by Clerk membership creation time ascending. Pagination reflects live membership, rather than a snapshot; changes during traversal can shift page boundaries. Clerk lookup failures return 503 rather than an empty roster. Responses use Cache-Control: no-store, private. Roster reads share a 15-second deadline (reduced when less ingress time remains); exhausted reads return 503.
|
|
64
|
+
* List organization users
|
|
65
|
+
*/
|
|
66
|
+
listOrganizationUsers(requestParameters?: ListOrganizationUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CovalOrganizationAPIListOrganizationUsersResponse>;
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=OrganizationUsersApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrganizationUsersApi.d.ts","sourceRoot":"","sources":["../../../src/generated/apis/OrganizationUsersApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,eAAe,CAAC;AAMzC,OAAO,EACH,KAAK,iDAAiD,EAGzD,MAAM,gEAAgE,CAAC;AAExE,MAAM,WAAW,4BAA4B;IACzC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;GAKG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;;;OAMG;IACH,gCAAgC,CAAC,iBAAiB,EAAE,4BAA4B,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IAEhH;;;;;;;;OAQG;IACH,wBAAwB,CAAC,iBAAiB,EAAE,4BAA4B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,iDAAiD,CAAC,CAAC,CAAC;IAEvN;;;OAGG;IACH,qBAAqB,CAAC,iBAAiB,EAAE,4BAA4B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,iDAAiD,CAAC,CAAC;CAElM;AAED;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,OAAO,CAAC,OAAQ,YAAW,6BAA6B;IAE9F;;OAEG;IACG,gCAAgC,CAAC,iBAAiB,EAAE,4BAA4B,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC;IA4BrH;;;OAGG;IACG,wBAAwB,CAAC,iBAAiB,EAAE,4BAA4B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,iDAAiD,CAAC,CAAC;IAO5N;;;OAGG;IACG,qBAAqB,CAAC,iBAAiB,GAAE,4BAAiC,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,iDAAiD,CAAC;CAK5M"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Coval Agents API
|
|
5
|
+
* Manage configurations for simulations and evaluations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@coval.dev
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import * as runtime from '../runtime.js';
|
|
15
|
+
import { CovalOrganizationAPIListOrganizationUsersResponseFromJSON, } from '../models/CovalOrganizationAPIListOrganizationUsersResponse.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export class OrganizationUsersApi extends runtime.BaseAPI {
|
|
20
|
+
/**
|
|
21
|
+
* Creates request options for listOrganizationUsers without sending the request
|
|
22
|
+
*/
|
|
23
|
+
async listOrganizationUsersRequestOpts(requestParameters) {
|
|
24
|
+
const queryParameters = {};
|
|
25
|
+
if (requestParameters['pageSize'] != null) {
|
|
26
|
+
queryParameters['page_size'] = requestParameters['pageSize'];
|
|
27
|
+
}
|
|
28
|
+
if (requestParameters['pageToken'] != null) {
|
|
29
|
+
queryParameters['page_token'] = requestParameters['pageToken'];
|
|
30
|
+
}
|
|
31
|
+
const headerParameters = {};
|
|
32
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
33
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // Coval_Organization_API_ApiKeyAuth authentication
|
|
34
|
+
}
|
|
35
|
+
let urlPath = `/organization/users`;
|
|
36
|
+
return {
|
|
37
|
+
path: urlPath,
|
|
38
|
+
method: 'GET',
|
|
39
|
+
headers: headerParameters,
|
|
40
|
+
query: queryParameters,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Return the current members of the API key\'s organization. Requires organization:read. This organization-wide roster is independent of the key\'s workspace selection. Coval user IDs and timestamps are null for members who have not synchronized to Coval; listing does not create users. Pending invitations and former members are excluded. Headless organizations without a linked Clerk identity return an empty users array and a null next_page_token. They do not accept continuation tokens. Follow next_page_token until it is null to retrieve every member. Tokens are integrity-protected; modified or unsigned tokens return 400. Rotating the Clerk secret invalidates existing tokens; restart pagination from the first page. Members are ordered by Clerk membership creation time ascending. Pagination reflects live membership, rather than a snapshot; changes during traversal can shift page boundaries. Clerk lookup failures return 503 rather than an empty roster. Responses use Cache-Control: no-store, private. Roster reads share a 15-second deadline (reduced when less ingress time remains); exhausted reads return 503.
|
|
45
|
+
* List organization users
|
|
46
|
+
*/
|
|
47
|
+
async listOrganizationUsersRaw(requestParameters, initOverrides) {
|
|
48
|
+
const requestOptions = await this.listOrganizationUsersRequestOpts(requestParameters);
|
|
49
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
50
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => CovalOrganizationAPIListOrganizationUsersResponseFromJSON(jsonValue));
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Return the current members of the API key\'s organization. Requires organization:read. This organization-wide roster is independent of the key\'s workspace selection. Coval user IDs and timestamps are null for members who have not synchronized to Coval; listing does not create users. Pending invitations and former members are excluded. Headless organizations without a linked Clerk identity return an empty users array and a null next_page_token. They do not accept continuation tokens. Follow next_page_token until it is null to retrieve every member. Tokens are integrity-protected; modified or unsigned tokens return 400. Rotating the Clerk secret invalidates existing tokens; restart pagination from the first page. Members are ordered by Clerk membership creation time ascending. Pagination reflects live membership, rather than a snapshot; changes during traversal can shift page boundaries. Clerk lookup failures return 503 rather than an empty roster. Responses use Cache-Control: no-store, private. Roster reads share a 15-second deadline (reduced when less ingress time remains); exhausted reads return 503.
|
|
54
|
+
* List organization users
|
|
55
|
+
*/
|
|
56
|
+
async listOrganizationUsers(requestParameters = {}, initOverrides) {
|
|
57
|
+
const response = await this.listOrganizationUsersRaw(requestParameters, initOverrides);
|
|
58
|
+
return await response.value();
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=OrganizationUsersApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrganizationUsersApi.js","sourceRo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,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC;QAEnE,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,yDAAyD,CAAC,SAAS,CAAC,CAAC,CAAC;IACtI,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,qBAAqB,CAAC,oBAAkD,EAAE,EAAE,aAA0D;QACxI,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,wBAAwB,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QACvF,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ"}
|
|
@@ -58,23 +58,23 @@ export interface ReviewAnnotationsApiInterface {
|
|
|
58
58
|
/**
|
|
59
59
|
* Creates request options for createReviewAnnotation without sending the request
|
|
60
60
|
* @param {CovalReviewsAPICreateReviewAnnotationRequest} covalReviewsAPICreateReviewAnnotationRequest
|
|
61
|
-
* @param {string} [projectId] Optional project ID
|
|
61
|
+
* @param {string} [projectId] Optional project ID. The simulation output, metric, and reviewer must match an assignment in this project. Applies project rules to the returned completion status.
|
|
62
62
|
* @throws {RequiredError}
|
|
63
63
|
* @memberof ReviewAnnotationsApiInterface
|
|
64
64
|
*/
|
|
65
65
|
createReviewAnnotationRequestOpts(requestParameters: CreateReviewAnnotationRequest): Promise<runtime.RequestOpts>;
|
|
66
66
|
/**
|
|
67
|
-
* Create a
|
|
67
|
+
* Create or update the saved annotation for a simulation output, metric, and reviewer. Project creation does not create these annotation records. Use the returned `review_annotation.id` with PATCH for later partial updates. Repeating POST replaces the saved answer fields, including clearing omitted optional answer fields.
|
|
68
68
|
* @summary Create review annotation
|
|
69
69
|
* @param {CovalReviewsAPICreateReviewAnnotationRequest} covalReviewsAPICreateReviewAnnotationRequest
|
|
70
|
-
* @param {string} [projectId] Optional project ID
|
|
70
|
+
* @param {string} [projectId] Optional project ID. The simulation output, metric, and reviewer must match an assignment in this project. Applies project rules to the returned completion status.
|
|
71
71
|
* @param {*} [options] Override http request option.
|
|
72
72
|
* @throws {RequiredError}
|
|
73
73
|
* @memberof ReviewAnnotationsApiInterface
|
|
74
74
|
*/
|
|
75
75
|
createReviewAnnotationRaw(requestParameters: CreateReviewAnnotationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CovalReviewsAPICreateReviewAnnotationResponse>>;
|
|
76
76
|
/**
|
|
77
|
-
* Create a
|
|
77
|
+
* Create or update the saved annotation for a simulation output, metric, and reviewer. Project creation does not create these annotation records. Use the returned `review_annotation.id` with PATCH for later partial updates. Repeating POST replaces the saved answer fields, including clearing omitted optional answer fields.
|
|
78
78
|
* Create review annotation
|
|
79
79
|
*/
|
|
80
80
|
createReviewAnnotation(requestParameters: CreateReviewAnnotationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CovalReviewsAPICreateReviewAnnotationResponse>;
|
|
@@ -177,7 +177,7 @@ export interface ReviewAnnotationsApiInterface {
|
|
|
177
177
|
*/
|
|
178
178
|
listReviewAnnotationsRequestOpts(requestParameters: ListReviewAnnotationsRequest): Promise<runtime.RequestOpts>;
|
|
179
179
|
/**
|
|
180
|
-
* List review annotations for your organization with optional filtering, sorting, and pagination.
|
|
180
|
+
* List saved review annotations for your organization with optional filtering, sorting, and pagination. A `project_id` filter returns saved annotations matching that project\'s assignments; it does not list unannotated assignments. A project can have assigned review work and an empty annotation list.
|
|
181
181
|
* @summary List review annotations
|
|
182
182
|
* @param {number} [pageSize] Maximum number of results per page
|
|
183
183
|
* @param {string} [pageToken] Opaque pagination token from previous response
|
|
@@ -189,7 +189,7 @@ export interface ReviewAnnotationsApiInterface {
|
|
|
189
189
|
*/
|
|
190
190
|
listReviewAnnotationsRaw(requestParameters: ListReviewAnnotationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CovalReviewsAPIListReviewAnnotationsResponse>>;
|
|
191
191
|
/**
|
|
192
|
-
* List review annotations for your organization with optional filtering, sorting, and pagination.
|
|
192
|
+
* List saved review annotations for your organization with optional filtering, sorting, and pagination. A `project_id` filter returns saved annotations matching that project\'s assignments; it does not list unannotated assignments. A project can have assigned review work and an empty annotation list.
|
|
193
193
|
* List review annotations
|
|
194
194
|
*/
|
|
195
195
|
listReviewAnnotations(requestParameters: ListReviewAnnotationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CovalReviewsAPIListReviewAnnotationsResponse>;
|
|
@@ -197,24 +197,24 @@ export interface ReviewAnnotationsApiInterface {
|
|
|
197
197
|
* Creates request options for updateReviewAnnotation without sending the request
|
|
198
198
|
* @param {string} annotationId The annotation ID
|
|
199
199
|
* @param {CovalReviewsAPIUpdateReviewAnnotationRequest} covalReviewsAPIUpdateReviewAnnotationRequest
|
|
200
|
-
* @param {string} [projectId] Optional project ID
|
|
200
|
+
* @param {string} [projectId] Optional project ID. The annotation must match an assignment in this project. Applies project rules to the returned completion status.
|
|
201
201
|
* @throws {RequiredError}
|
|
202
202
|
* @memberof ReviewAnnotationsApiInterface
|
|
203
203
|
*/
|
|
204
204
|
updateReviewAnnotationRequestOpts(requestParameters: UpdateReviewAnnotationRequest): Promise<runtime.RequestOpts>;
|
|
205
205
|
/**
|
|
206
|
-
* Partially update
|
|
206
|
+
* Partially update an existing saved review annotation using its annotation ID. Create the annotation with POST before attempting to update it; project assignment IDs cannot be used as annotation IDs. The reviewer cannot be changed. A different non-null `assignee` returns HTTP 400 (`INVALID_ARGUMENT`); create an annotation for that reviewer instead. Completion status is derived from saved ground truth and, when `project_id` is supplied, the applicable project rules.
|
|
207
207
|
* @summary Update review annotation
|
|
208
208
|
* @param {string} annotationId The annotation ID
|
|
209
209
|
* @param {CovalReviewsAPIUpdateReviewAnnotationRequest} covalReviewsAPIUpdateReviewAnnotationRequest
|
|
210
|
-
* @param {string} [projectId] Optional project ID
|
|
210
|
+
* @param {string} [projectId] Optional project ID. The annotation must match an assignment in this project. Applies project rules to the returned completion status.
|
|
211
211
|
* @param {*} [options] Override http request option.
|
|
212
212
|
* @throws {RequiredError}
|
|
213
213
|
* @memberof ReviewAnnotationsApiInterface
|
|
214
214
|
*/
|
|
215
215
|
updateReviewAnnotationRaw(requestParameters: UpdateReviewAnnotationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CovalReviewsAPIUpdateReviewAnnotationResponse>>;
|
|
216
216
|
/**
|
|
217
|
-
* Partially update
|
|
217
|
+
* Partially update an existing saved review annotation using its annotation ID. Create the annotation with POST before attempting to update it; project assignment IDs cannot be used as annotation IDs. The reviewer cannot be changed. A different non-null `assignee` returns HTTP 400 (`INVALID_ARGUMENT`); create an annotation for that reviewer instead. Completion status is derived from saved ground truth and, when `project_id` is supplied, the applicable project rules.
|
|
218
218
|
* Update review annotation
|
|
219
219
|
*/
|
|
220
220
|
updateReviewAnnotation(requestParameters: UpdateReviewAnnotationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CovalReviewsAPIUpdateReviewAnnotationResponse>;
|
|
@@ -228,12 +228,12 @@ export declare class ReviewAnnotationsApi extends runtime.BaseAPI implements Rev
|
|
|
228
228
|
*/
|
|
229
229
|
createReviewAnnotationRequestOpts(requestParameters: CreateReviewAnnotationRequest): Promise<runtime.RequestOpts>;
|
|
230
230
|
/**
|
|
231
|
-
* Create a
|
|
231
|
+
* Create or update the saved annotation for a simulation output, metric, and reviewer. Project creation does not create these annotation records. Use the returned `review_annotation.id` with PATCH for later partial updates. Repeating POST replaces the saved answer fields, including clearing omitted optional answer fields.
|
|
232
232
|
* Create review annotation
|
|
233
233
|
*/
|
|
234
234
|
createReviewAnnotationRaw(requestParameters: CreateReviewAnnotationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CovalReviewsAPICreateReviewAnnotationResponse>>;
|
|
235
235
|
/**
|
|
236
|
-
* Create a
|
|
236
|
+
* Create or update the saved annotation for a simulation output, metric, and reviewer. Project creation does not create these annotation records. Use the returned `review_annotation.id` with PATCH for later partial updates. Repeating POST replaces the saved answer fields, including clearing omitted optional answer fields.
|
|
237
237
|
* Create review annotation
|
|
238
238
|
*/
|
|
239
239
|
createReviewAnnotation(requestParameters: CreateReviewAnnotationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CovalReviewsAPICreateReviewAnnotationResponse>;
|
|
@@ -298,12 +298,12 @@ export declare class ReviewAnnotationsApi extends runtime.BaseAPI implements Rev
|
|
|
298
298
|
*/
|
|
299
299
|
listReviewAnnotationsRequestOpts(requestParameters: ListReviewAnnotationsRequest): Promise<runtime.RequestOpts>;
|
|
300
300
|
/**
|
|
301
|
-
* List review annotations for your organization with optional filtering, sorting, and pagination.
|
|
301
|
+
* List saved review annotations for your organization with optional filtering, sorting, and pagination. A `project_id` filter returns saved annotations matching that project\'s assignments; it does not list unannotated assignments. A project can have assigned review work and an empty annotation list.
|
|
302
302
|
* List review annotations
|
|
303
303
|
*/
|
|
304
304
|
listReviewAnnotationsRaw(requestParameters: ListReviewAnnotationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CovalReviewsAPIListReviewAnnotationsResponse>>;
|
|
305
305
|
/**
|
|
306
|
-
* List review annotations for your organization with optional filtering, sorting, and pagination.
|
|
306
|
+
* List saved review annotations for your organization with optional filtering, sorting, and pagination. A `project_id` filter returns saved annotations matching that project\'s assignments; it does not list unannotated assignments. A project can have assigned review work and an empty annotation list.
|
|
307
307
|
* List review annotations
|
|
308
308
|
*/
|
|
309
309
|
listReviewAnnotations(requestParameters?: ListReviewAnnotationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CovalReviewsAPIListReviewAnnotationsResponse>;
|
|
@@ -312,12 +312,12 @@ export declare class ReviewAnnotationsApi extends runtime.BaseAPI implements Rev
|
|
|
312
312
|
*/
|
|
313
313
|
updateReviewAnnotationRequestOpts(requestParameters: UpdateReviewAnnotationRequest): Promise<runtime.RequestOpts>;
|
|
314
314
|
/**
|
|
315
|
-
* Partially update
|
|
315
|
+
* Partially update an existing saved review annotation using its annotation ID. Create the annotation with POST before attempting to update it; project assignment IDs cannot be used as annotation IDs. The reviewer cannot be changed. A different non-null `assignee` returns HTTP 400 (`INVALID_ARGUMENT`); create an annotation for that reviewer instead. Completion status is derived from saved ground truth and, when `project_id` is supplied, the applicable project rules.
|
|
316
316
|
* Update review annotation
|
|
317
317
|
*/
|
|
318
318
|
updateReviewAnnotationRaw(requestParameters: UpdateReviewAnnotationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CovalReviewsAPIUpdateReviewAnnotationResponse>>;
|
|
319
319
|
/**
|
|
320
|
-
* Partially update
|
|
320
|
+
* Partially update an existing saved review annotation using its annotation ID. Create the annotation with POST before attempting to update it; project assignment IDs cannot be used as annotation IDs. The reviewer cannot be changed. A different non-null `assignee` returns HTTP 400 (`INVALID_ARGUMENT`); create an annotation for that reviewer instead. Completion status is derived from saved ground truth and, when `project_id` is supplied, the applicable project rules.
|
|
321
321
|
* Update review annotation
|
|
322
322
|
*/
|
|
323
323
|
updateReviewAnnotation(requestParameters: UpdateReviewAnnotationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CovalReviewsAPIUpdateReviewAnnotationResponse>;
|
|
@@ -51,7 +51,7 @@ export class ReviewAnnotationsApi extends runtime.BaseAPI {
|
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
|
-
* Create a
|
|
54
|
+
* Create or update the saved annotation for a simulation output, metric, and reviewer. Project creation does not create these annotation records. Use the returned `review_annotation.id` with PATCH for later partial updates. Repeating POST replaces the saved answer fields, including clearing omitted optional answer fields.
|
|
55
55
|
* Create review annotation
|
|
56
56
|
*/
|
|
57
57
|
async createReviewAnnotationRaw(requestParameters, initOverrides) {
|
|
@@ -60,7 +60,7 @@ export class ReviewAnnotationsApi extends runtime.BaseAPI {
|
|
|
60
60
|
return new runtime.JSONApiResponse(response, (jsonValue) => CovalReviewsAPICreateReviewAnnotationResponseFromJSON(jsonValue));
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
|
-
* Create a
|
|
63
|
+
* Create or update the saved annotation for a simulation output, metric, and reviewer. Project creation does not create these annotation records. Use the returned `review_annotation.id` with PATCH for later partial updates. Repeating POST replaces the saved answer fields, including clearing omitted optional answer fields.
|
|
64
64
|
* Create review annotation
|
|
65
65
|
*/
|
|
66
66
|
async createReviewAnnotation(requestParameters, initOverrides) {
|
|
@@ -255,7 +255,7 @@ export class ReviewAnnotationsApi extends runtime.BaseAPI {
|
|
|
255
255
|
};
|
|
256
256
|
}
|
|
257
257
|
/**
|
|
258
|
-
* List review annotations for your organization with optional filtering, sorting, and pagination.
|
|
258
|
+
* List saved review annotations for your organization with optional filtering, sorting, and pagination. A `project_id` filter returns saved annotations matching that project\'s assignments; it does not list unannotated assignments. A project can have assigned review work and an empty annotation list.
|
|
259
259
|
* List review annotations
|
|
260
260
|
*/
|
|
261
261
|
async listReviewAnnotationsRaw(requestParameters, initOverrides) {
|
|
@@ -264,7 +264,7 @@ export class ReviewAnnotationsApi extends runtime.BaseAPI {
|
|
|
264
264
|
return new runtime.JSONApiResponse(response, (jsonValue) => CovalReviewsAPIListReviewAnnotationsResponseFromJSON(jsonValue));
|
|
265
265
|
}
|
|
266
266
|
/**
|
|
267
|
-
* List review annotations for your organization with optional filtering, sorting, and pagination.
|
|
267
|
+
* List saved review annotations for your organization with optional filtering, sorting, and pagination. A `project_id` filter returns saved annotations matching that project\'s assignments; it does not list unannotated assignments. A project can have assigned review work and an empty annotation list.
|
|
268
268
|
* List review annotations
|
|
269
269
|
*/
|
|
270
270
|
async listReviewAnnotations(requestParameters = {}, initOverrides) {
|
|
@@ -301,7 +301,7 @@ export class ReviewAnnotationsApi extends runtime.BaseAPI {
|
|
|
301
301
|
};
|
|
302
302
|
}
|
|
303
303
|
/**
|
|
304
|
-
* Partially update
|
|
304
|
+
* Partially update an existing saved review annotation using its annotation ID. Create the annotation with POST before attempting to update it; project assignment IDs cannot be used as annotation IDs. The reviewer cannot be changed. A different non-null `assignee` returns HTTP 400 (`INVALID_ARGUMENT`); create an annotation for that reviewer instead. Completion status is derived from saved ground truth and, when `project_id` is supplied, the applicable project rules.
|
|
305
305
|
* Update review annotation
|
|
306
306
|
*/
|
|
307
307
|
async updateReviewAnnotationRaw(requestParameters, initOverrides) {
|
|
@@ -310,7 +310,7 @@ export class ReviewAnnotationsApi extends runtime.BaseAPI {
|
|
|
310
310
|
return new runtime.JSONApiResponse(response, (jsonValue) => CovalReviewsAPIUpdateReviewAnnotationResponseFromJSON(jsonValue));
|
|
311
311
|
}
|
|
312
312
|
/**
|
|
313
|
-
* Partially update
|
|
313
|
+
* Partially update an existing saved review annotation using its annotation ID. Create the annotation with POST before attempting to update it; project assignment IDs cannot be used as annotation IDs. The reviewer cannot be changed. A different non-null `assignee` returns HTTP 400 (`INVALID_ARGUMENT`); create an annotation for that reviewer instead. Completion status is derived from saved ground truth and, when `project_id` is supplied, the applicable project rules.
|
|
314
314
|
* Update review annotation
|
|
315
315
|
*/
|
|
316
316
|
async updateReviewAnnotation(requestParameters, initOverrides) {
|
|
@@ -109,7 +109,7 @@ export interface ReviewProjectsApiInterface {
|
|
|
109
109
|
*/
|
|
110
110
|
createReviewProjectRequestOpts(requestParameters: CreateReviewProjectRequest): Promise<runtime.RequestOpts>;
|
|
111
111
|
/**
|
|
112
|
-
* Create a new review project
|
|
112
|
+
* Create a new review project defining assignments for the configured (simulation, metric, assignee) combinations. Assignments track review work separately from saved annotations. Submit review data with POST `/review-annotations` and use the returned annotation ID for later edits.
|
|
113
113
|
* @summary Create review project
|
|
114
114
|
* @param {CovalReviewsAPICreateReviewProjectRequest} covalReviewsAPICreateReviewProjectRequest
|
|
115
115
|
* @param {string} [xCovalWorkspaceId] Workspace that scopes this operation. When omitted, the organization\'s active default workspace is used when one can be resolved.
|
|
@@ -119,7 +119,7 @@ export interface ReviewProjectsApiInterface {
|
|
|
119
119
|
*/
|
|
120
120
|
createReviewProjectRaw(requestParameters: CreateReviewProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CovalReviewsAPICreateReviewProjectResponse>>;
|
|
121
121
|
/**
|
|
122
|
-
* Create a new review project
|
|
122
|
+
* Create a new review project defining assignments for the configured (simulation, metric, assignee) combinations. Assignments track review work separately from saved annotations. Submit review data with POST `/review-annotations` and use the returned annotation ID for later edits.
|
|
123
123
|
* Create review project
|
|
124
124
|
*/
|
|
125
125
|
createReviewProject(requestParameters: CreateReviewProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CovalReviewsAPICreateReviewProjectResponse>;
|
|
@@ -339,12 +339,12 @@ export declare class ReviewProjectsApi extends runtime.BaseAPI implements Review
|
|
|
339
339
|
*/
|
|
340
340
|
createReviewProjectRequestOpts(requestParameters: CreateReviewProjectRequest): Promise<runtime.RequestOpts>;
|
|
341
341
|
/**
|
|
342
|
-
* Create a new review project
|
|
342
|
+
* Create a new review project defining assignments for the configured (simulation, metric, assignee) combinations. Assignments track review work separately from saved annotations. Submit review data with POST `/review-annotations` and use the returned annotation ID for later edits.
|
|
343
343
|
* Create review project
|
|
344
344
|
*/
|
|
345
345
|
createReviewProjectRaw(requestParameters: CreateReviewProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CovalReviewsAPICreateReviewProjectResponse>>;
|
|
346
346
|
/**
|
|
347
|
-
* Create a new review project
|
|
347
|
+
* Create a new review project defining assignments for the configured (simulation, metric, assignee) combinations. Assignments track review work separately from saved annotations. Submit review data with POST `/review-annotations` and use the returned annotation ID for later edits.
|
|
348
348
|
* Create review project
|
|
349
349
|
*/
|
|
350
350
|
createReviewProject(requestParameters: CreateReviewProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CovalReviewsAPICreateReviewProjectResponse>;
|
|
@@ -101,7 +101,7 @@ export class ReviewProjectsApi extends runtime.BaseAPI {
|
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
103
|
/**
|
|
104
|
-
* Create a new review project
|
|
104
|
+
* Create a new review project defining assignments for the configured (simulation, metric, assignee) combinations. Assignments track review work separately from saved annotations. Submit review data with POST `/review-annotations` and use the returned annotation ID for later edits.
|
|
105
105
|
* Create review project
|
|
106
106
|
*/
|
|
107
107
|
async createReviewProjectRaw(requestParameters, initOverrides) {
|
|
@@ -110,7 +110,7 @@ export class ReviewProjectsApi extends runtime.BaseAPI {
|
|
|
110
110
|
return new runtime.JSONApiResponse(response, (jsonValue) => CovalReviewsAPICreateReviewProjectResponseFromJSON(jsonValue));
|
|
111
111
|
}
|
|
112
112
|
/**
|
|
113
|
-
* Create a new review project
|
|
113
|
+
* Create a new review project defining assignments for the configured (simulation, metric, assignee) combinations. Assignments track review work separately from saved annotations. Submit review data with POST `/review-annotations` and use the returned annotation ID for later edits.
|
|
114
114
|
* Create review project
|
|
115
115
|
*/
|
|
116
116
|
async createReviewProject(requestParameters, initOverrides) {
|