@agent-os-sdk/client 0.7.3 → 0.7.5
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/generated/openapi.d.ts +82 -5
- package/dist/generated/openapi.d.ts.map +1 -1
- package/dist/index.d.ts +16 -52
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -22
- package/dist/modules/runs.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/generated/openapi.ts +82 -5
- package/src/generated/swagger.json +223 -5
- package/src/index.ts +20 -64
package/dist/index.d.ts
CHANGED
|
@@ -1,35 +1,31 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agent OS SDK
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* 100% Auto-Generated from OpenAPI + Custom Client with modules.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
* 2. CUSTOM CLIENT (AgentOsClient) - Ergonomic wrapper with auth, modules, etc.
|
|
8
|
-
*
|
|
9
|
-
* @example Auto-Generated (new, recommended for typed endpoints)
|
|
6
|
+
* @example Types (all come from backend automatically)
|
|
10
7
|
* ```ts
|
|
11
|
-
* import
|
|
8
|
+
* import type { Schema } from "@agent-os-sdk/client";
|
|
12
9
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
10
|
+
* type Run = Schema<"RunDetailResponse">;
|
|
11
|
+
* type Agent = Schema<"AgentDraftResponse">;
|
|
12
|
+
* // Any schema from the backend is available!
|
|
13
|
+
* ```
|
|
17
14
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* }
|
|
15
|
+
* @example Auto-Generated Client (openapi-fetch)
|
|
16
|
+
* ```ts
|
|
17
|
+
* import { createClient } from "@agent-os-sdk/client";
|
|
18
|
+
*
|
|
19
|
+
* const api = createClient({ baseUrl, headers });
|
|
20
|
+
* const { data } = await api.POST("/v1/api/graph/commit", { body: {...} });
|
|
21
21
|
* ```
|
|
22
22
|
*
|
|
23
|
-
* @example Custom Client (
|
|
23
|
+
* @example Custom Client (ergonomic wrapper)
|
|
24
24
|
* ```ts
|
|
25
25
|
* import { AgentOsClient } from "@agent-os-sdk/client";
|
|
26
26
|
*
|
|
27
|
-
* const client = new AgentOsClient({
|
|
28
|
-
*
|
|
29
|
-
* auth: { type: "jwt", getToken: () => token, getWorkspaceId: () => wsId }
|
|
30
|
-
* });
|
|
31
|
-
*
|
|
32
|
-
* const { data } = await client.graphs.commit({ agent_id: "...", graph_spec: {...} });
|
|
27
|
+
* const client = new AgentOsClient({ baseUrl, auth: {...} });
|
|
28
|
+
* const { data } = await client.graphs.commit({...});
|
|
33
29
|
* ```
|
|
34
30
|
*/
|
|
35
31
|
export { createClient, type AgentOsClient as GeneratedClient, type ClientOptions, type Schema } from "./generated/client.js";
|
|
@@ -41,38 +37,6 @@ export { withRetry } from "./client/retry.js";
|
|
|
41
37
|
export { withTimeout } from "./client/timeout.js";
|
|
42
38
|
export { DEFAULT_NETWORK_CONFIG, INTERACTIVE_NETWORK_CONFIG, BACKGROUND_NETWORK_CONFIG, type NetworkConfig, } from "./client/config.js";
|
|
43
39
|
export { paginate, collectAll, getFirst, type PaginatedResponse, type PaginationParams, type OffsetPaginatedResponse, type CursorPaginatedResponse, type PaginateOptions, } from "./client/pagination.js";
|
|
44
|
-
export type CommitGraphSpecRequest = import("./generated/openapi.js").components["schemas"]["CommitGraphSpecRequest"];
|
|
45
|
-
export type CommitGraphSpecResponse = import("./generated/openapi.js").components["schemas"]["CommitGraphSpecResponse"];
|
|
46
|
-
export type GetGraphSpecResponse = import("./generated/openapi.js").components["schemas"]["GetGraphSpecResponse"];
|
|
47
|
-
export type ApprovalDecision = import("./generated/openapi.js").components["schemas"]["ApprovalDecision"];
|
|
48
|
-
export type RunResponse = import("./generated/openapi.js").components["schemas"]["RunResponse"];
|
|
49
|
-
export type RunDetailResponse = import("./generated/openapi.js").components["schemas"]["RunDetailResponse"];
|
|
50
|
-
export type RunListItem = import("./generated/openapi.js").components["schemas"]["RunListItem"];
|
|
51
|
-
export type RunListResponse = import("./generated/openapi.js").components["schemas"]["RunListResponse"];
|
|
52
|
-
export type RunEventsPollResponse = import("./generated/openapi.js").components["schemas"]["RunEventsPollResponse"];
|
|
53
|
-
export type RunStatus = import("./generated/openapi.js").components["schemas"]["RunStatus"];
|
|
54
|
-
export type Run = RunDetailResponse;
|
|
55
|
-
export type { Agent } from "./modules/agents.js";
|
|
56
|
-
export type { RunEvent, RunEventDto, FollowEvent, FollowOptions } from "./modules/runs.js";
|
|
57
|
-
export type { Thread, ThreadMessage, ThreadState } from "./modules/threads.js";
|
|
58
|
-
export type { Trigger } from "./modules/triggers.js";
|
|
59
|
-
export type { Credential } from "./modules/credentials.js";
|
|
60
|
-
export type { BuilderChatRequest, BuilderChatResponse, BuilderStreamEvent, GraphUpdateAction } from "./modules/builder.js";
|
|
61
|
-
export type { Member, Role } from "./modules/members.js";
|
|
62
|
-
export type { Workspace } from "./modules/workspaces.js";
|
|
63
|
-
export type { Tenant } from "./modules/tenants.js";
|
|
64
|
-
export type { StoredFile } from "./modules/files.js";
|
|
65
|
-
export type { EvalDataset, Experiment } from "./modules/evaluation.js";
|
|
66
|
-
export type { Prompt } from "./modules/prompts.js";
|
|
67
|
-
export type { Trace, Span } from "./modules/traces.js";
|
|
68
|
-
export type { CronJob } from "./modules/crons.js";
|
|
69
|
-
export type { DlqMessage } from "./modules/dlq.js";
|
|
70
|
-
export type { VectorStore } from "./modules/vectorStores.js";
|
|
71
|
-
export type { AuditLogEntry } from "./modules/audit.js";
|
|
72
|
-
export type { ServerCapabilities } from "./modules/info.js";
|
|
73
|
-
export type { Checkpoint } from "./modules/checkpoints.js";
|
|
74
|
-
export type { Tool } from "./modules/tools.js";
|
|
75
|
-
export type { Approval, ApprovalStatus } from "./modules/approvals.js";
|
|
76
40
|
export type { SSEEvent, SSEOptions } from "./sse/client.js";
|
|
77
41
|
export type { APIResponse } from "./client/raw.js";
|
|
78
42
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAOH,OAAO,EAAE,YAAY,EAAE,KAAK,aAAa,IAAI,eAAe,EAAE,KAAK,aAAa,EAAE,KAAK,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC7H,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAMhE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,YAAY,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAM3E,OAAO,EACH,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,aAAa,EACb,cAAc,EACd,WAAW,EACX,WAAW,EACX,gBAAgB,GACnB,MAAM,mBAAmB,CAAC;AAM3B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EACH,sBAAsB,EACtB,0BAA0B,EAC1B,yBAAyB,EACzB,KAAK,aAAa,GACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACH,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,eAAe,GACvB,MAAM,wBAAwB,CAAC;AAMhC,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC5D,YAAY,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,43 +1,40 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agent OS SDK
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* 100% Auto-Generated from OpenAPI + Custom Client with modules.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
* 2. CUSTOM CLIENT (AgentOsClient) - Ergonomic wrapper with auth, modules, etc.
|
|
8
|
-
*
|
|
9
|
-
* @example Auto-Generated (new, recommended for typed endpoints)
|
|
6
|
+
* @example Types (all come from backend automatically)
|
|
10
7
|
* ```ts
|
|
11
|
-
* import
|
|
8
|
+
* import type { Schema } from "@agent-os-sdk/client";
|
|
12
9
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
10
|
+
* type Run = Schema<"RunDetailResponse">;
|
|
11
|
+
* type Agent = Schema<"AgentDraftResponse">;
|
|
12
|
+
* // Any schema from the backend is available!
|
|
13
|
+
* ```
|
|
17
14
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* }
|
|
15
|
+
* @example Auto-Generated Client (openapi-fetch)
|
|
16
|
+
* ```ts
|
|
17
|
+
* import { createClient } from "@agent-os-sdk/client";
|
|
18
|
+
*
|
|
19
|
+
* const api = createClient({ baseUrl, headers });
|
|
20
|
+
* const { data } = await api.POST("/v1/api/graph/commit", { body: {...} });
|
|
21
21
|
* ```
|
|
22
22
|
*
|
|
23
|
-
* @example Custom Client (
|
|
23
|
+
* @example Custom Client (ergonomic wrapper)
|
|
24
24
|
* ```ts
|
|
25
25
|
* import { AgentOsClient } from "@agent-os-sdk/client";
|
|
26
26
|
*
|
|
27
|
-
* const client = new AgentOsClient({
|
|
28
|
-
*
|
|
29
|
-
* auth: { type: "jwt", getToken: () => token, getWorkspaceId: () => wsId }
|
|
30
|
-
* });
|
|
31
|
-
*
|
|
32
|
-
* const { data } = await client.graphs.commit({ agent_id: "...", graph_spec: {...} });
|
|
27
|
+
* const client = new AgentOsClient({ baseUrl, auth: {...} });
|
|
28
|
+
* const { data } = await client.graphs.commit({...});
|
|
33
29
|
* ```
|
|
34
30
|
*/
|
|
35
31
|
// ============================================================
|
|
36
|
-
//
|
|
32
|
+
// AUTO-GENERATED (100% from Swagger)
|
|
37
33
|
// ============================================================
|
|
34
|
+
// Client + types - ALL schemas available via Schema<"Name">
|
|
38
35
|
export { createClient } from "./generated/client.js";
|
|
39
36
|
// ============================================================
|
|
40
|
-
//
|
|
37
|
+
// CUSTOM CLIENT (AgentOsClient with modules)
|
|
41
38
|
// ============================================================
|
|
42
39
|
export { AgentOsClient } from "./client/AgentOsClient.js";
|
|
43
40
|
// ============================================================
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runs.d.ts","sourceRoot":"","sources":["../../src/modules/runs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,EAAY,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAGjG,KAAK,eAAe,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,iBAAiB,CAAC,CAAC;AAChE,KAAK,gBAAgB,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAAC;AAClE,KAAK,iBAAiB,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,mBAAmB,CAAC,CAAC;AACpE,KAAK,sBAAsB,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,wBAAwB,CAAC,CAAC;AAG9E,MAAM,WAAW,GAAG;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,SAAS,CAAC;IAClB,SAAS,CAAC,EAAE,M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7D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mCAAmC;IACnC,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,8CAA8C;IAC9C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mDAAmD;IACnD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mDAAmD;IACnD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,sCAAsC;IACtC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,qDAAqD;IACrD,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,6CAA6C;IAC7C,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,KAAK,GAAG,OAAO,KAAK,IAAI,CAAC;CACpD;AAED,qCAAqC;AACrC,MAAM,WAAW,WAAW;IACxB,IAAI,EAAE,WAAW,GAAG,WAAW,GAAG,OAAO,GAAG,OAAO,CAAC;IACpD,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACzC,sDAAsD;IACtD,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
package/package.json
CHANGED
package/src/generated/openapi.ts
CHANGED
|
@@ -1629,7 +1629,9 @@ export interface paths {
|
|
|
1629
1629
|
headers: {
|
|
1630
1630
|
[name: string]: unknown;
|
|
1631
1631
|
};
|
|
1632
|
-
content
|
|
1632
|
+
content: {
|
|
1633
|
+
"application/json": components["schemas"]["CredentialListResponse"];
|
|
1634
|
+
};
|
|
1633
1635
|
};
|
|
1634
1636
|
/** @description Authentication required. */
|
|
1635
1637
|
401: {
|
|
@@ -1669,7 +1671,9 @@ export interface paths {
|
|
|
1669
1671
|
headers: {
|
|
1670
1672
|
[name: string]: unknown;
|
|
1671
1673
|
};
|
|
1672
|
-
content
|
|
1674
|
+
content: {
|
|
1675
|
+
"application/json": components["schemas"]["CredentialCreatedResponse"];
|
|
1676
|
+
};
|
|
1673
1677
|
};
|
|
1674
1678
|
/** @description Invalid request (missing TypeId or WorkspaceId). */
|
|
1675
1679
|
400: {
|
|
@@ -1722,7 +1726,9 @@ export interface paths {
|
|
|
1722
1726
|
headers: {
|
|
1723
1727
|
[name: string]: unknown;
|
|
1724
1728
|
};
|
|
1725
|
-
content
|
|
1729
|
+
content: {
|
|
1730
|
+
"application/json": components["schemas"]["CredentialDetailResponse"];
|
|
1731
|
+
};
|
|
1726
1732
|
};
|
|
1727
1733
|
/** @description Credential not found. */
|
|
1728
1734
|
404: {
|
|
@@ -1765,7 +1771,9 @@ export interface paths {
|
|
|
1765
1771
|
headers: {
|
|
1766
1772
|
[name: string]: unknown;
|
|
1767
1773
|
};
|
|
1768
|
-
content
|
|
1774
|
+
content: {
|
|
1775
|
+
"application/json": components["schemas"]["CredentialUpdatedResponse"];
|
|
1776
|
+
};
|
|
1769
1777
|
};
|
|
1770
1778
|
/** @description Credential not found. */
|
|
1771
1779
|
404: {
|
|
@@ -1814,7 +1822,9 @@ export interface paths {
|
|
|
1814
1822
|
headers: {
|
|
1815
1823
|
[name: string]: unknown;
|
|
1816
1824
|
};
|
|
1817
|
-
content
|
|
1825
|
+
content: {
|
|
1826
|
+
"application/json": components["schemas"]["CredentialAccessGrantedResponse"];
|
|
1827
|
+
};
|
|
1818
1828
|
};
|
|
1819
1829
|
/** @description Credential not found. */
|
|
1820
1830
|
404: {
|
|
@@ -8494,6 +8504,73 @@ export interface components {
|
|
|
8494
8504
|
CreateWorkspaceRequest: {
|
|
8495
8505
|
name?: string | null;
|
|
8496
8506
|
};
|
|
8507
|
+
/** @description Response after granting access. */
|
|
8508
|
+
CredentialAccessGrantedResponse: {
|
|
8509
|
+
/** Format: uuid */
|
|
8510
|
+
id?: string;
|
|
8511
|
+
status?: string | null;
|
|
8512
|
+
};
|
|
8513
|
+
/** @description Response after creating a credential. */
|
|
8514
|
+
CredentialCreatedResponse: {
|
|
8515
|
+
/** Format: uuid */
|
|
8516
|
+
id?: string;
|
|
8517
|
+
name?: string | null;
|
|
8518
|
+
scope?: string | null;
|
|
8519
|
+
/** Format: uuid */
|
|
8520
|
+
tenant_id?: string;
|
|
8521
|
+
/** Format: uuid */
|
|
8522
|
+
workspace_id?: string | null;
|
|
8523
|
+
status?: string | null;
|
|
8524
|
+
/** Format: date-time */
|
|
8525
|
+
created_at?: string;
|
|
8526
|
+
};
|
|
8527
|
+
/** @description Detailed credential response including config. */
|
|
8528
|
+
CredentialDetailResponse: {
|
|
8529
|
+
/** Format: uuid */
|
|
8530
|
+
id?: string;
|
|
8531
|
+
name?: string | null;
|
|
8532
|
+
scope?: string | null;
|
|
8533
|
+
sharing_mode?: string | null;
|
|
8534
|
+
/** Format: uuid */
|
|
8535
|
+
tenant_id?: string;
|
|
8536
|
+
/** Format: uuid */
|
|
8537
|
+
workspace_id?: string | null;
|
|
8538
|
+
type_display_name?: string | null;
|
|
8539
|
+
type_key?: string | null;
|
|
8540
|
+
status?: string | null;
|
|
8541
|
+
/** Format: date-time */
|
|
8542
|
+
created_at?: string;
|
|
8543
|
+
public_config?: unknown;
|
|
8544
|
+
};
|
|
8545
|
+
/** @description Paginated list of credentials. */
|
|
8546
|
+
CredentialListResponse: {
|
|
8547
|
+
items?: components["schemas"]["CredentialResponse"][] | null;
|
|
8548
|
+
/** Format: int32 */
|
|
8549
|
+
total?: number;
|
|
8550
|
+
};
|
|
8551
|
+
/** @description Credential metadata (without encrypted values). */
|
|
8552
|
+
CredentialResponse: {
|
|
8553
|
+
/** Format: uuid */
|
|
8554
|
+
id?: string;
|
|
8555
|
+
name?: string | null;
|
|
8556
|
+
scope?: string | null;
|
|
8557
|
+
sharing_mode?: string | null;
|
|
8558
|
+
/** Format: uuid */
|
|
8559
|
+
tenant_id?: string;
|
|
8560
|
+
/** Format: uuid */
|
|
8561
|
+
workspace_id?: string | null;
|
|
8562
|
+
type?: string | null;
|
|
8563
|
+
status?: string | null;
|
|
8564
|
+
/** Format: date-time */
|
|
8565
|
+
created_at?: string;
|
|
8566
|
+
};
|
|
8567
|
+
/** @description Response after updating a credential. */
|
|
8568
|
+
CredentialUpdatedResponse: {
|
|
8569
|
+
/** Format: uuid */
|
|
8570
|
+
id?: string;
|
|
8571
|
+
status?: string | null;
|
|
8572
|
+
sharing_mode?: string | null;
|
|
8573
|
+
};
|
|
8497
8574
|
DatasetResponse: {
|
|
8498
8575
|
/** Format: uuid */
|
|
8499
8576
|
id?: string;
|
|
@@ -1582,7 +1582,14 @@
|
|
|
1582
1582
|
],
|
|
1583
1583
|
"responses": {
|
|
1584
1584
|
"200": {
|
|
1585
|
-
"description": "Returns the list of credentials."
|
|
1585
|
+
"description": "Returns the list of credentials.",
|
|
1586
|
+
"content": {
|
|
1587
|
+
"application/json": {
|
|
1588
|
+
"schema": {
|
|
1589
|
+
"$ref": "#/components/schemas/CredentialListResponse"
|
|
1590
|
+
}
|
|
1591
|
+
}
|
|
1592
|
+
}
|
|
1586
1593
|
},
|
|
1587
1594
|
"401": {
|
|
1588
1595
|
"description": "Authentication required.",
|
|
@@ -1624,7 +1631,14 @@
|
|
|
1624
1631
|
},
|
|
1625
1632
|
"responses": {
|
|
1626
1633
|
"201": {
|
|
1627
|
-
"description": "Credential created successfully."
|
|
1634
|
+
"description": "Credential created successfully.",
|
|
1635
|
+
"content": {
|
|
1636
|
+
"application/json": {
|
|
1637
|
+
"schema": {
|
|
1638
|
+
"$ref": "#/components/schemas/CredentialCreatedResponse"
|
|
1639
|
+
}
|
|
1640
|
+
}
|
|
1641
|
+
}
|
|
1628
1642
|
},
|
|
1629
1643
|
"400": {
|
|
1630
1644
|
"description": "Invalid request (missing TypeId or WorkspaceId).",
|
|
@@ -1669,7 +1683,14 @@
|
|
|
1669
1683
|
],
|
|
1670
1684
|
"responses": {
|
|
1671
1685
|
"200": {
|
|
1672
|
-
"description": "Returns the credential."
|
|
1686
|
+
"description": "Returns the credential.",
|
|
1687
|
+
"content": {
|
|
1688
|
+
"application/json": {
|
|
1689
|
+
"schema": {
|
|
1690
|
+
"$ref": "#/components/schemas/CredentialDetailResponse"
|
|
1691
|
+
}
|
|
1692
|
+
}
|
|
1693
|
+
}
|
|
1673
1694
|
},
|
|
1674
1695
|
"404": {
|
|
1675
1696
|
"description": "Credential not found.",
|
|
@@ -1722,7 +1743,14 @@
|
|
|
1722
1743
|
},
|
|
1723
1744
|
"responses": {
|
|
1724
1745
|
"200": {
|
|
1725
|
-
"description": "Credential updated successfully."
|
|
1746
|
+
"description": "Credential updated successfully.",
|
|
1747
|
+
"content": {
|
|
1748
|
+
"application/json": {
|
|
1749
|
+
"schema": {
|
|
1750
|
+
"$ref": "#/components/schemas/CredentialUpdatedResponse"
|
|
1751
|
+
}
|
|
1752
|
+
}
|
|
1753
|
+
}
|
|
1726
1754
|
},
|
|
1727
1755
|
"404": {
|
|
1728
1756
|
"description": "Credential not found.",
|
|
@@ -1777,7 +1805,14 @@
|
|
|
1777
1805
|
},
|
|
1778
1806
|
"responses": {
|
|
1779
1807
|
"200": {
|
|
1780
|
-
"description": "Access granted successfully."
|
|
1808
|
+
"description": "Access granted successfully.",
|
|
1809
|
+
"content": {
|
|
1810
|
+
"application/json": {
|
|
1811
|
+
"schema": {
|
|
1812
|
+
"$ref": "#/components/schemas/CredentialAccessGrantedResponse"
|
|
1813
|
+
}
|
|
1814
|
+
}
|
|
1815
|
+
}
|
|
1781
1816
|
},
|
|
1782
1817
|
"404": {
|
|
1783
1818
|
"description": "Credential not found.",
|
|
@@ -8829,6 +8864,189 @@
|
|
|
8829
8864
|
},
|
|
8830
8865
|
"additionalProperties": false
|
|
8831
8866
|
},
|
|
8867
|
+
"CredentialAccessGrantedResponse": {
|
|
8868
|
+
"type": "object",
|
|
8869
|
+
"properties": {
|
|
8870
|
+
"id": {
|
|
8871
|
+
"type": "string",
|
|
8872
|
+
"format": "uuid"
|
|
8873
|
+
},
|
|
8874
|
+
"status": {
|
|
8875
|
+
"type": "string",
|
|
8876
|
+
"nullable": true
|
|
8877
|
+
}
|
|
8878
|
+
},
|
|
8879
|
+
"additionalProperties": false,
|
|
8880
|
+
"description": "Response after granting access."
|
|
8881
|
+
},
|
|
8882
|
+
"CredentialCreatedResponse": {
|
|
8883
|
+
"type": "object",
|
|
8884
|
+
"properties": {
|
|
8885
|
+
"id": {
|
|
8886
|
+
"type": "string",
|
|
8887
|
+
"format": "uuid"
|
|
8888
|
+
},
|
|
8889
|
+
"name": {
|
|
8890
|
+
"type": "string",
|
|
8891
|
+
"nullable": true
|
|
8892
|
+
},
|
|
8893
|
+
"scope": {
|
|
8894
|
+
"type": "string",
|
|
8895
|
+
"nullable": true
|
|
8896
|
+
},
|
|
8897
|
+
"tenant_id": {
|
|
8898
|
+
"type": "string",
|
|
8899
|
+
"format": "uuid"
|
|
8900
|
+
},
|
|
8901
|
+
"workspace_id": {
|
|
8902
|
+
"type": "string",
|
|
8903
|
+
"format": "uuid",
|
|
8904
|
+
"nullable": true
|
|
8905
|
+
},
|
|
8906
|
+
"status": {
|
|
8907
|
+
"type": "string",
|
|
8908
|
+
"nullable": true
|
|
8909
|
+
},
|
|
8910
|
+
"created_at": {
|
|
8911
|
+
"type": "string",
|
|
8912
|
+
"format": "date-time"
|
|
8913
|
+
}
|
|
8914
|
+
},
|
|
8915
|
+
"additionalProperties": false,
|
|
8916
|
+
"description": "Response after creating a credential."
|
|
8917
|
+
},
|
|
8918
|
+
"CredentialDetailResponse": {
|
|
8919
|
+
"type": "object",
|
|
8920
|
+
"properties": {
|
|
8921
|
+
"id": {
|
|
8922
|
+
"type": "string",
|
|
8923
|
+
"format": "uuid"
|
|
8924
|
+
},
|
|
8925
|
+
"name": {
|
|
8926
|
+
"type": "string",
|
|
8927
|
+
"nullable": true
|
|
8928
|
+
},
|
|
8929
|
+
"scope": {
|
|
8930
|
+
"type": "string",
|
|
8931
|
+
"nullable": true
|
|
8932
|
+
},
|
|
8933
|
+
"sharing_mode": {
|
|
8934
|
+
"type": "string",
|
|
8935
|
+
"nullable": true
|
|
8936
|
+
},
|
|
8937
|
+
"tenant_id": {
|
|
8938
|
+
"type": "string",
|
|
8939
|
+
"format": "uuid"
|
|
8940
|
+
},
|
|
8941
|
+
"workspace_id": {
|
|
8942
|
+
"type": "string",
|
|
8943
|
+
"format": "uuid",
|
|
8944
|
+
"nullable": true
|
|
8945
|
+
},
|
|
8946
|
+
"type_display_name": {
|
|
8947
|
+
"type": "string",
|
|
8948
|
+
"nullable": true
|
|
8949
|
+
},
|
|
8950
|
+
"type_key": {
|
|
8951
|
+
"type": "string",
|
|
8952
|
+
"nullable": true
|
|
8953
|
+
},
|
|
8954
|
+
"status": {
|
|
8955
|
+
"type": "string",
|
|
8956
|
+
"nullable": true
|
|
8957
|
+
},
|
|
8958
|
+
"created_at": {
|
|
8959
|
+
"type": "string",
|
|
8960
|
+
"format": "date-time"
|
|
8961
|
+
},
|
|
8962
|
+
"public_config": {
|
|
8963
|
+
"nullable": true
|
|
8964
|
+
}
|
|
8965
|
+
},
|
|
8966
|
+
"additionalProperties": false,
|
|
8967
|
+
"description": "Detailed credential response including config."
|
|
8968
|
+
},
|
|
8969
|
+
"CredentialListResponse": {
|
|
8970
|
+
"type": "object",
|
|
8971
|
+
"properties": {
|
|
8972
|
+
"items": {
|
|
8973
|
+
"type": "array",
|
|
8974
|
+
"items": {
|
|
8975
|
+
"$ref": "#/components/schemas/CredentialResponse"
|
|
8976
|
+
},
|
|
8977
|
+
"nullable": true
|
|
8978
|
+
},
|
|
8979
|
+
"total": {
|
|
8980
|
+
"type": "integer",
|
|
8981
|
+
"format": "int32"
|
|
8982
|
+
}
|
|
8983
|
+
},
|
|
8984
|
+
"additionalProperties": false,
|
|
8985
|
+
"description": "Paginated list of credentials."
|
|
8986
|
+
},
|
|
8987
|
+
"CredentialResponse": {
|
|
8988
|
+
"type": "object",
|
|
8989
|
+
"properties": {
|
|
8990
|
+
"id": {
|
|
8991
|
+
"type": "string",
|
|
8992
|
+
"format": "uuid"
|
|
8993
|
+
},
|
|
8994
|
+
"name": {
|
|
8995
|
+
"type": "string",
|
|
8996
|
+
"nullable": true
|
|
8997
|
+
},
|
|
8998
|
+
"scope": {
|
|
8999
|
+
"type": "string",
|
|
9000
|
+
"nullable": true
|
|
9001
|
+
},
|
|
9002
|
+
"sharing_mode": {
|
|
9003
|
+
"type": "string",
|
|
9004
|
+
"nullable": true
|
|
9005
|
+
},
|
|
9006
|
+
"tenant_id": {
|
|
9007
|
+
"type": "string",
|
|
9008
|
+
"format": "uuid"
|
|
9009
|
+
},
|
|
9010
|
+
"workspace_id": {
|
|
9011
|
+
"type": "string",
|
|
9012
|
+
"format": "uuid",
|
|
9013
|
+
"nullable": true
|
|
9014
|
+
},
|
|
9015
|
+
"type": {
|
|
9016
|
+
"type": "string",
|
|
9017
|
+
"nullable": true
|
|
9018
|
+
},
|
|
9019
|
+
"status": {
|
|
9020
|
+
"type": "string",
|
|
9021
|
+
"nullable": true
|
|
9022
|
+
},
|
|
9023
|
+
"created_at": {
|
|
9024
|
+
"type": "string",
|
|
9025
|
+
"format": "date-time"
|
|
9026
|
+
}
|
|
9027
|
+
},
|
|
9028
|
+
"additionalProperties": false,
|
|
9029
|
+
"description": "Credential metadata (without encrypted values)."
|
|
9030
|
+
},
|
|
9031
|
+
"CredentialUpdatedResponse": {
|
|
9032
|
+
"type": "object",
|
|
9033
|
+
"properties": {
|
|
9034
|
+
"id": {
|
|
9035
|
+
"type": "string",
|
|
9036
|
+
"format": "uuid"
|
|
9037
|
+
},
|
|
9038
|
+
"status": {
|
|
9039
|
+
"type": "string",
|
|
9040
|
+
"nullable": true
|
|
9041
|
+
},
|
|
9042
|
+
"sharing_mode": {
|
|
9043
|
+
"type": "string",
|
|
9044
|
+
"nullable": true
|
|
9045
|
+
}
|
|
9046
|
+
},
|
|
9047
|
+
"additionalProperties": false,
|
|
9048
|
+
"description": "Response after updating a credential."
|
|
9049
|
+
},
|
|
8832
9050
|
"DatasetResponse": {
|
|
8833
9051
|
"type": "object",
|
|
8834
9052
|
"properties": {
|