@1claw/sdk 0.44.0 → 0.44.3
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/core/client.d.ts +3 -0
- package/dist/core/client.d.ts.map +1 -1
- package/dist/core/client.js +2 -0
- package/dist/core/client.js.map +1 -1
- package/dist/generated/api-types.d.ts +507 -0
- package/dist/generated/api-types.d.ts.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/resources/discovery.d.ts +3 -1
- package/dist/resources/discovery.d.ts.map +1 -1
- package/dist/resources/discovery.js +14 -0
- package/dist/resources/discovery.js.map +1 -1
- package/dist/resources/oauth-connect.d.ts +47 -0
- package/dist/resources/oauth-connect.d.ts.map +1 -0
- package/dist/resources/oauth-connect.js +60 -0
- package/dist/resources/oauth-connect.js.map +1 -0
- package/dist/types.d.ts +82 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/core/client.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ import { DiscoveryResource } from "../resources/discovery";
|
|
|
33
33
|
import { ChatResource } from "../resources/chat";
|
|
34
34
|
import { ChannelsResource } from "../resources/channels";
|
|
35
35
|
import { WebhooksResource } from "../resources/webhooks";
|
|
36
|
+
import { OAuthConnectResource } from "../resources/oauth-connect";
|
|
36
37
|
/**
|
|
37
38
|
* The main 1Claw SDK client. All API resources are exposed as
|
|
38
39
|
* namespaced properties for discoverability and tree-shaking.
|
|
@@ -122,6 +123,8 @@ export declare class OneclawClient {
|
|
|
122
123
|
readonly channels: ChannelsResource;
|
|
123
124
|
/** Webhooks — register and manage event notification webhooks. */
|
|
124
125
|
readonly webhooks: WebhooksResource;
|
|
126
|
+
/** OAuth Connected Accounts — manage OAuth connections for agents. */
|
|
127
|
+
readonly oauthConnect: OAuthConnectResource;
|
|
125
128
|
constructor(config: OneclawClientConfig);
|
|
126
129
|
private autoAu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mBAAmB,GAAG,aAAa,CAEvE"}
|
package/dist/core/client.js
CHANGED
|
@@ -32,6 +32,7 @@ import { DiscoveryResource } from "../resources/discovery.js";
|
|
|
32
32
|
import { ChatResource } from "../resources/chat.js";
|
|
33
33
|
import { ChannelsResource } from "../resources/channels.js";
|
|
34
34
|
import { WebhooksResource } from "../resources/webhooks.js";
|
|
35
|
+
import { OAuthConnectResource } from "../resources/oauth-connect.js";
|
|
35
36
|
/**
|
|
36
37
|
* The main 1Claw SDK client. All API resources are exposed as
|
|
37
38
|
* namespaced properties for discoverability and tree-shaking.
|
|
@@ -96,6 +97,7 @@ export class OneclawClient {
|
|
|
96
97
|
this.chat = new ChatResource(this.http);
|
|
97
98
|
this.channels = new ChannelsResource(this.http);
|
|
98
99
|
this.webhooks = new WebhooksResource(this.http);
|
|
100
|
+
this.oauthConnect = new OAuthConnectResource(this.http);
|
|
99
101
|
}
|
|
100
102
|
autoAuthenticateUserKey(config) {
|
|
101
103
|
const authPromise = this.http
|
package/dist/core/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/core/client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB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D,IAAI,CAAC,QAAQ,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAChD,IAAI,CAAC,YAAY,GAAG,IAAI,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC5D,CAAC;IAEO,uBAAuB,CAAC,MAA2B;QACvD,MAAM,WAAW,GAAG,IAAI,CAAC,IAAI;aACxB,OAAO,CAA2B,MAAM,EAAE,wBAAwB,EAAE;YACjE,IAAI,EAAE,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE;SACnC,CAAC;aACD,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE;YACV,IAAI,GAAG,CAAC,IAAI,EAAE,YAAY;gBACtB,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAClD,CAAC,CAAC,CAAC;QAEP,WAAW,CAAC,KAAK,CAAC,GAAG,EAAE;YACnB,mDAAmD;QACvD,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,UAAU,YAAY,CAAC,MAA2B;IACpD,OAAO,IAAI,aAAa,CAAC,MAAM,CAAC,CAAC;AACrC,CAAC"}
|
|
@@ -5227,6 +5227,28 @@ export interface paths {
|
|
|
5227
5227
|
patch?: never;
|
|
5228
5228
|
trace?: never;
|
|
5229
5229
|
};
|
|
5230
|
+
"/v1/agents/org-directory": {
|
|
5231
|
+
parameters: {
|
|
5232
|
+
query?: never;
|
|
5233
|
+
header?: never;
|
|
5234
|
+
path?: never;
|
|
5235
|
+
cookie?: never;
|
|
5236
|
+
};
|
|
5237
|
+
/**
|
|
5238
|
+
* List org agents
|
|
5239
|
+
* @description List agents within the caller's organization for sub-agent discovery.
|
|
5240
|
+
* Returns agents with their capabilities, enabling agent-to-agent
|
|
5241
|
+
* coordination and discovery within an org. Requires authentication.
|
|
5242
|
+
*/
|
|
5243
|
+
get: operations["listOrgDirectory"];
|
|
5244
|
+
put?: never;
|
|
5245
|
+
post?: never;
|
|
5246
|
+
delete?: never;
|
|
5247
|
+
options?: never;
|
|
5248
|
+
head?: never;
|
|
5249
|
+
patch?: never;
|
|
5250
|
+
trace?: never;
|
|
5251
|
+
};
|
|
5230
5252
|
"/v1/agents/{agent_id}/discovery": {
|
|
5231
5253
|
parameters: {
|
|
5232
5254
|
query?: never;
|
|
@@ -5277,6 +5299,11 @@ export interface paths {
|
|
|
5277
5299
|
* Send chat message
|
|
5278
5300
|
* @description Send a message to an agent and receive a response via Shroud LLM.
|
|
5279
5301
|
* Supports SSE streaming when Accept: text/event-stream is set.
|
|
5302
|
+
*
|
|
5303
|
+
* Agents can call this endpoint on other agents within the same
|
|
5304
|
+
* organization for inter-agent communication (agent-to-agent chat).
|
|
5305
|
+
* The caller must be authenticated and belong to the same org as
|
|
5306
|
+
* the target agent.
|
|
5280
5307
|
*/
|
|
5281
5308
|
post: operations["sendChatMessage"];
|
|
5282
5309
|
delete?: never;
|
|
@@ -5502,6 +5529,157 @@ export interface paths {
|
|
|
5502
5529
|
patch?: never;
|
|
5503
5530
|
trace?: never;
|
|
5504
5531
|
};
|
|
5532
|
+
"/v1/oauth/providers": {
|
|
5533
|
+
parameters: {
|
|
5534
|
+
query?: never;
|
|
5535
|
+
header?: never;
|
|
5536
|
+
path?: never;
|
|
5537
|
+
cookie?: never;
|
|
5538
|
+
};
|
|
5539
|
+
/**
|
|
5540
|
+
* List OAuth providers
|
|
5541
|
+
* @description Returns the list of supported OAuth providers with their metadata,
|
|
5542
|
+
* available scopes, and authorization URLs. No authentication required.
|
|
5543
|
+
*/
|
|
5544
|
+
get: operations["listOAuthProviders"];
|
|
5545
|
+
put?: never;
|
|
5546
|
+
post?: never;
|
|
5547
|
+
delete?: never;
|
|
5548
|
+
options?: never;
|
|
5549
|
+
head?: never;
|
|
5550
|
+
patch?: never;
|
|
5551
|
+
trace?: never;
|
|
5552
|
+
};
|
|
5553
|
+
"/v1/agents/{agent_id}/oauth/connect": {
|
|
5554
|
+
parameters: {
|
|
5555
|
+
query?: never;
|
|
5556
|
+
header?: never;
|
|
5557
|
+
path?: never;
|
|
5558
|
+
cookie?: never;
|
|
5559
|
+
};
|
|
5560
|
+
get?: never;
|
|
5561
|
+
put?: never;
|
|
5562
|
+
/**
|
|
5563
|
+
* Initiate OAuth connection
|
|
5564
|
+
* @description Start an OAuth authorization flow for the specified agent and provider.
|
|
5565
|
+
* Returns the authorization URL to redirect the user to. Human-only.
|
|
5566
|
+
*/
|
|
5567
|
+
post: operations["connectOAuth"];
|
|
5568
|
+
delete?: never;
|
|
5569
|
+
options?: never;
|
|
5570
|
+
head?: never;
|
|
5571
|
+
patch?: never;
|
|
5572
|
+
trace?: never;
|
|
5573
|
+
};
|
|
5574
|
+
"/v1/agents/{agent_id}/oauth/connections": {
|
|
5575
|
+
parameters: {
|
|
5576
|
+
query?: never;
|
|
5577
|
+
header?: never;
|
|
5578
|
+
path?: never;
|
|
5579
|
+
cookie?: never;
|
|
5580
|
+
};
|
|
5581
|
+
/**
|
|
5582
|
+
* List OAuth connections
|
|
5583
|
+
* @description List all active OAuth connections for the specified agent.
|
|
5584
|
+
*/
|
|
5585
|
+
get: operations["listOAuthConnections"];
|
|
5586
|
+
put?: never;
|
|
5587
|
+
post?: never;
|
|
5588
|
+
delete?: never;
|
|
5589
|
+
options?: never;
|
|
5590
|
+
head?: never;
|
|
5591
|
+
patch?: never;
|
|
5592
|
+
trace?: never;
|
|
5593
|
+
};
|
|
5594
|
+
"/v1/agents/{agent_id}/oauth/disconnect/{binding_id}": {
|
|
5595
|
+
parameters: {
|
|
5596
|
+
query?: never;
|
|
5597
|
+
header?: never;
|
|
5598
|
+
path?: never;
|
|
5599
|
+
cookie?: never;
|
|
5600
|
+
};
|
|
5601
|
+
get?: never;
|
|
5602
|
+
put?: never;
|
|
5603
|
+
/**
|
|
5604
|
+
* Disconnect OAuth connection
|
|
5605
|
+
* @description Disconnect an OAuth connection by revoking tokens and removing the binding.
|
|
5606
|
+
* Human-only.
|
|
5607
|
+
*/
|
|
5608
|
+
post: operations["disconnectOAuth"];
|
|
5609
|
+
delete?: never;
|
|
5610
|
+
options?: never;
|
|
5611
|
+
head?: never;
|
|
5612
|
+
patch?: never;
|
|
5613
|
+
trace?: never;
|
|
5614
|
+
};
|
|
5615
|
+
"/v1/agents/{agent_id}/oauth/app-credentials": {
|
|
5616
|
+
parameters: {
|
|
5617
|
+
query?: never;
|
|
5618
|
+
header?: never;
|
|
5619
|
+
path?: never;
|
|
5620
|
+
cookie?: never;
|
|
5621
|
+
};
|
|
5622
|
+
/**
|
|
5623
|
+
* List OAuth app credentials
|
|
5624
|
+
* @description List stored OAuth app credentials for the agent. Client secrets
|
|
5625
|
+
* are never returned in the response.
|
|
5626
|
+
*/
|
|
5627
|
+
get: operations["listOAuthAppCredentials"];
|
|
5628
|
+
put?: never;
|
|
5629
|
+
/**
|
|
5630
|
+
* Save OAuth app credentials
|
|
5631
|
+
* @description Store custom OAuth app credentials (client ID/secret) for a provider.
|
|
5632
|
+
* Allows the agent to use a BYOA (Bring Your Own App) OAuth application
|
|
5633
|
+
* instead of 1Claw's shared credentials. Human-only.
|
|
5634
|
+
*/
|
|
5635
|
+
post: operations["saveOAuthAppCredentials"];
|
|
5636
|
+
delete?: never;
|
|
5637
|
+
options?: never;
|
|
5638
|
+
head?: never;
|
|
5639
|
+
patch?: never;
|
|
5640
|
+
trace?: never;
|
|
5641
|
+
};
|
|
5642
|
+
"/v1/agents/{agent_id}/oauth/app-credentials/{provider_slug}": {
|
|
5643
|
+
parameters: {
|
|
5644
|
+
query?: never;
|
|
5645
|
+
header?: never;
|
|
5646
|
+
path?: never;
|
|
5647
|
+
cookie?: never;
|
|
5648
|
+
};
|
|
5649
|
+
get?: never;
|
|
5650
|
+
put?: never;
|
|
5651
|
+
post?: never;
|
|
5652
|
+
/**
|
|
5653
|
+
* Delete OAuth app credentials
|
|
5654
|
+
* @description Remove stored OAuth app credentials for a specific provider. Human-only.
|
|
5655
|
+
*/
|
|
5656
|
+
delete: operations["deleteOAuthAppCredentials"];
|
|
5657
|
+
options?: never;
|
|
5658
|
+
head?: never;
|
|
5659
|
+
patch?: never;
|
|
5660
|
+
trace?: never;
|
|
5661
|
+
};
|
|
5662
|
+
"/v1/oauth/callback": {
|
|
5663
|
+
parameters: {
|
|
5664
|
+
query?: never;
|
|
5665
|
+
header?: never;
|
|
5666
|
+
path?: never;
|
|
5667
|
+
cookie?: never;
|
|
5668
|
+
};
|
|
5669
|
+
/**
|
|
5670
|
+
* OAuth callback
|
|
5671
|
+
* @description Public callback URL that OAuth providers redirect to after user authorization.
|
|
5672
|
+
* Exchanges the authorization code for tokens and redirects to the dashboard.
|
|
5673
|
+
*/
|
|
5674
|
+
get: operations["oauthConnectCallback"];
|
|
5675
|
+
put?: never;
|
|
5676
|
+
post?: never;
|
|
5677
|
+
delete?: never;
|
|
5678
|
+
options?: never;
|
|
5679
|
+
head?: never;
|
|
5680
|
+
patch?: never;
|
|
5681
|
+
trace?: never;
|
|
5682
|
+
};
|
|
5505
5683
|
}
|
|
5506
5684
|
export type webhooks = Record<string, never>;
|
|
5507
5685
|
export interface components {
|
|
@@ -8906,6 +9084,25 @@ export interface components {
|
|
|
8906
9084
|
page: number;
|
|
8907
9085
|
per_page: number;
|
|
8908
9086
|
};
|
|
9087
|
+
OrgDirectoryAgent: {
|
|
9088
|
+
/** Format: uuid */
|
|
9089
|
+
id: string;
|
|
9090
|
+
name: string;
|
|
9091
|
+
public_description?: string | null;
|
|
9092
|
+
public_tags?: string[];
|
|
9093
|
+
a2a_url?: string | null;
|
|
9094
|
+
mcp_url?: string | null;
|
|
9095
|
+
intents_api_enabled: boolean;
|
|
9096
|
+
execution_intents_enabled: boolean;
|
|
9097
|
+
memory_enabled: boolean;
|
|
9098
|
+
shroud_enabled: boolean;
|
|
9099
|
+
};
|
|
9100
|
+
OrgDirectoryResponse: {
|
|
9101
|
+
agents: components["schemas"]["OrgDirectoryAgent"][];
|
|
9102
|
+
total: number;
|
|
9103
|
+
page: number;
|
|
9104
|
+
page_size: number;
|
|
9105
|
+
};
|
|
8909
9106
|
UpdateDiscoveryRequest: {
|
|
8910
9107
|
discoverable?: boolean;
|
|
8911
9108
|
public_description?: string;
|
|
@@ -9036,6 +9233,92 @@ export interface components {
|
|
|
9036
9233
|
ChannelMessageListResponse: {
|
|
9037
9234
|
messages?: components["schemas"]["ChannelMessageResponse"][];
|
|
9038
9235
|
};
|
|
9236
|
+
OAuthProviderScope: {
|
|
9237
|
+
scope?: string;
|
|
9238
|
+
label?: string;
|
|
9239
|
+
description?: string;
|
|
9240
|
+
default?: boolean;
|
|
9241
|
+
};
|
|
9242
|
+
OAuthProvider: {
|
|
9243
|
+
/** @description Unique provider identifier (e.g. "github", "google", "slack") */
|
|
9244
|
+
slug?: string;
|
|
9245
|
+
display_name?: string;
|
|
9246
|
+
/** Format: uri */
|
|
9247
|
+
icon_url?: string;
|
|
9248
|
+
/** Format: uri */
|
|
9249
|
+
authorization_url?: string;
|
|
9250
|
+
/** Format: uri */
|
|
9251
|
+
token_url?: string;
|
|
9252
|
+
scopes_available?: components["schemas"]["OAuthProviderScope"][];
|
|
9253
|
+
default_scopes?: string[];
|
|
9254
|
+
extra_auth_params?: {
|
|
9255
|
+
[key: string]: string;
|
|
9256
|
+
} | null;
|
|
9257
|
+
/** @description Whether custom app credentials are required (vs. shared 1Claw app) */
|
|
9258
|
+
requires_app_credentials?: boolean;
|
|
9259
|
+
/** Format: uri */
|
|
9260
|
+
documentation_url?: string | null;
|
|
9261
|
+
};
|
|
9262
|
+
OAuthProviderListResponse: {
|
|
9263
|
+
providers?: components["schemas"]["OAuthProvider"][];
|
|
9264
|
+
};
|
|
9265
|
+
ConnectOAuthRequest: {
|
|
9266
|
+
/** @description Provider to connect (e.g. "github", "google", "slack") */
|
|
9267
|
+
provider_slug: string;
|
|
9268
|
+
/** @description Override default scopes for this connection */
|
|
9269
|
+
scopes?: string[];
|
|
9270
|
+
/** @description URL to redirect to after the OAuth flow completes */
|
|
9271
|
+
redirect_after?: string;
|
|
9272
|
+
};
|
|
9273
|
+
ConnectOAuthResponse: {
|
|
9274
|
+
/**
|
|
9275
|
+
* Format: uri
|
|
9276
|
+
* @description Redirect the user to this URL to authorize the connection
|
|
9277
|
+
*/
|
|
9278
|
+
authorization_url?: string;
|
|
9279
|
+
};
|
|
9280
|
+
OAuthConnectionResponse: {
|
|
9281
|
+
/** Format: uuid */
|
|
9282
|
+
binding_id?: string;
|
|
9283
|
+
provider_slug?: string;
|
|
9284
|
+
provider_name?: string;
|
|
9285
|
+
scopes?: string[];
|
|
9286
|
+
/** @enum {string} */
|
|
9287
|
+
status?: "active" | "expired" | "revoked";
|
|
9288
|
+
needs_reauth?: boolean;
|
|
9289
|
+
/** Format: date-time */
|
|
9290
|
+
created_at?: string;
|
|
9291
|
+
};
|
|
9292
|
+
OAuthConnectionListResponse: {
|
|
9293
|
+
connections?: components["schemas"]["OAuthConnectionResponse"][];
|
|
9294
|
+
};
|
|
9295
|
+
SaveOAuthAppCredentialsRequest: {
|
|
9296
|
+
/** @description Provider this credential is for */
|
|
9297
|
+
provider_slug: string;
|
|
9298
|
+
client_id: string;
|
|
9299
|
+
/** @description Write-only; never returned in responses */
|
|
9300
|
+
client_secret: string;
|
|
9301
|
+
/**
|
|
9302
|
+
* Format: uri
|
|
9303
|
+
* @description Custom redirect URI override
|
|
9304
|
+
*/
|
|
9305
|
+
redirect_uri?: string;
|
|
9306
|
+
};
|
|
9307
|
+
OAuthAppCredentialResponse: {
|
|
9308
|
+
/** Format: uuid */
|
|
9309
|
+
id?: string;
|
|
9310
|
+
provider_slug?: string;
|
|
9311
|
+
client_id?: string;
|
|
9312
|
+
/** Format: uri */
|
|
9313
|
+
redirect_uri?: string | null;
|
|
9314
|
+
/** Format: date-time */
|
|
9315
|
+
created_at?: string;
|
|
9316
|
+
/** Format: date-time */
|
|
9317
|
+
updated_at?: string;
|
|
9318
|
+
};
|
|
9319
|
+
OAuthAppCredentialListResponse: {
|
|
9320
|
+
credentials?: components["schemas"]["OAuthAppCredentialResponse"][];
|
|
9321
|
+
};
|
|
9039
9322
|
};
|
|
9040
9323
|
responses: {
|
|
9041
9324
|
/** @description Invalid request */
|
|
@@ -16138,6 +16421,34 @@ export interface operations {
|
|
|
16138
16421
|
};
|
|
16139
16422
|
};
|
|
16140
16423
|
};
|
|
16424
|
+
listOrgDirectory: {
|
|
16425
|
+
parameters: {
|
|
16426
|
+
query?: {
|
|
16427
|
+
/** @description Search query to filter agents by name or description */
|
|
16428
|
+
q?: string;
|
|
16429
|
+
/** @description Comma-separated tag filter */
|
|
16430
|
+
tags?: string;
|
|
16431
|
+
page?: number;
|
|
16432
|
+
page_size?: number;
|
|
16433
|
+
};
|
|
16434
|
+
header?: never;
|
|
16435
|
+
path?: never;
|
|
16436
|
+
cookie?: never;
|
|
16437
|
+
};
|
|
16438
|
+
requestBody?: never;
|
|
16439
|
+
responses: {
|
|
16440
|
+
/** @description Org agent directory listing */
|
|
16441
|
+
200: {
|
|
16442
|
+
headers: {
|
|
16443
|
+
[name: string]: unknown;
|
|
16444
|
+
};
|
|
16445
|
+
content: {
|
|
16446
|
+
"application/json": components["schemas"]["OrgDirectoryResponse"];
|
|
16447
|
+
};
|
|
16448
|
+
};
|
|
16449
|
+
401: components["responses"]["Unauthorized"];
|
|
16450
|
+
};
|
|
16451
|
+
};
|
|
16141
16452
|
updateDiscoverySettings: {
|
|
16142
16453
|
parameters: {
|
|
16143
16454
|
query?: never;
|
|
@@ -16587,5 +16898,201 @@ export interface operations {
|
|
|
16587
16898
|
};
|
|
16588
16899
|
};
|
|
16589
16900
|
};
|
|
16901
|
+
listOAuthProviders: {
|
|
16902
|
+
parameters: {
|
|
16903
|
+
query?: never;
|
|
16904
|
+
header?: never;
|
|
16905
|
+
path?: never;
|
|
16906
|
+
cookie?: never;
|
|
16907
|
+
};
|
|
16908
|
+
requestBody?: never;
|
|
16909
|
+
responses: {
|
|
16910
|
+
/** @description Provider list */
|
|
16911
|
+
200: {
|
|
16912
|
+
headers: {
|
|
16913
|
+
[name: string]: unknown;
|
|
16914
|
+
};
|
|
16915
|
+
content: {
|
|
16916
|
+
"application/json": components["schemas"]["OAuthProviderListResponse"];
|
|
16917
|
+
};
|
|
16918
|
+
};
|
|
16919
|
+
};
|
|
16920
|
+
};
|
|
16921
|
+
connectOAuth: {
|
|
16922
|
+
parameters: {
|
|
16923
|
+
query?: never;
|
|
16924
|
+
header?: never;
|
|
16925
|
+
path: {
|
|
16926
|
+
agent_id: components["parameters"]["AgentId"];
|
|
16927
|
+
};
|
|
16928
|
+
cookie?: never;
|
|
16929
|
+
};
|
|
16930
|
+
requestBody: {
|
|
16931
|
+
content: {
|
|
16932
|
+
"application/json": components["schemas"]["ConnectOAuthRequest"];
|
|
16933
|
+
};
|
|
16934
|
+
};
|
|
16935
|
+
responses: {
|
|
16936
|
+
/** @description Authorization URL generated */
|
|
16937
|
+
200: {
|
|
16938
|
+
headers: {
|
|
16939
|
+
[name: string]: unknown;
|
|
16940
|
+
};
|
|
16941
|
+
content: {
|
|
16942
|
+
"application/json": components["schemas"]["ConnectOAuthResponse"];
|
|
16943
|
+
};
|
|
16944
|
+
};
|
|
16945
|
+
400: components["responses"]["BadRequest"];
|
|
16946
|
+
403: components["responses"]["Forbidden"];
|
|
16947
|
+
404: components["responses"]["NotFound"];
|
|
16948
|
+
};
|
|
16949
|
+
};
|
|
16950
|
+
listOAuthConnections: {
|
|
16951
|
+
parameters: {
|
|
16952
|
+
query?: never;
|
|
16953
|
+
header?: never;
|
|
16954
|
+
path: {
|
|
16955
|
+
agent_id: components["parameters"]["AgentId"];
|
|
16956
|
+
};
|
|
16957
|
+
cookie?: never;
|
|
16958
|
+
};
|
|
16959
|
+
requestBody?: never;
|
|
16960
|
+
responses: {
|
|
16961
|
+
/** @description Connection list */
|
|
16962
|
+
200: {
|
|
16963
|
+
headers: {
|
|
16964
|
+
[name: string]: unknown;
|
|
16965
|
+
};
|
|
16966
|
+
content: {
|
|
16967
|
+
"application/json": components["schemas"]["OAuthConnectionListResponse"];
|
|
16968
|
+
};
|
|
16969
|
+
};
|
|
16970
|
+
404: components["responses"]["NotFound"];
|
|
16971
|
+
};
|
|
16972
|
+
};
|
|
16973
|
+
disconnectOAuth: {
|
|
16974
|
+
parameters: {
|
|
16975
|
+
query?: never;
|
|
16976
|
+
header?: never;
|
|
16977
|
+
path: {
|
|
16978
|
+
agent_id: components["parameters"]["AgentId"];
|
|
16979
|
+
binding_id: string;
|
|
16980
|
+
};
|
|
16981
|
+
cookie?: never;
|
|
16982
|
+
};
|
|
16983
|
+
requestBody?: never;
|
|
16984
|
+
responses: {
|
|
16985
|
+
/** @description Connection disconnected */
|
|
16986
|
+
204: {
|
|
16987
|
+
headers: {
|
|
16988
|
+
[name: string]: unknown;
|
|
16989
|
+
};
|
|
16990
|
+
content?: never;
|
|
16991
|
+
};
|
|
16992
|
+
403: components["responses"]["Forbidden"];
|
|
16993
|
+
404: components["responses"]["NotFound"];
|
|
16994
|
+
};
|
|
16995
|
+
};
|
|
16996
|
+
listOAuthAppCredentials: {
|
|
16997
|
+
parameters: {
|
|
16998
|
+
query?: never;
|
|
16999
|
+
header?: never;
|
|
17000
|
+
path: {
|
|
17001
|
+
agent_id: components["parameters"]["AgentId"];
|
|
17002
|
+
};
|
|
17003
|
+
cookie?: never;
|
|
17004
|
+
};
|
|
17005
|
+
requestBody?: never;
|
|
17006
|
+
responses: {
|
|
17007
|
+
/** @description Credential list */
|
|
17008
|
+
200: {
|
|
17009
|
+
headers: {
|
|
17010
|
+
[name: string]: unknown;
|
|
17011
|
+
};
|
|
17012
|
+
content: {
|
|
17013
|
+
"application/json": components["schemas"]["OAuthAppCredentialListResponse"];
|
|
17014
|
+
};
|
|
17015
|
+
};
|
|
17016
|
+
404: components["responses"]["NotFound"];
|
|
17017
|
+
};
|
|
17018
|
+
};
|
|
17019
|
+
saveOAuthAppCredentials: {
|
|
17020
|
+
parameters: {
|
|
17021
|
+
query?: never;
|
|
17022
|
+
header?: never;
|
|
17023
|
+
path: {
|
|
17024
|
+
agent_id: components["parameters"]["AgentId"];
|
|
17025
|
+
};
|
|
17026
|
+
cookie?: never;
|
|
17027
|
+
};
|
|
17028
|
+
requestBody: {
|
|
17029
|
+
content: {
|
|
17030
|
+
"application/json": components["schemas"]["SaveOAuthAppCredentialsRequest"];
|
|
17031
|
+
};
|
|
17032
|
+
};
|
|
17033
|
+
responses: {
|
|
17034
|
+
/** @description Credentials saved */
|
|
17035
|
+
201: {
|
|
17036
|
+
headers: {
|
|
17037
|
+
[name: string]: unknown;
|
|
17038
|
+
};
|
|
17039
|
+
content: {
|
|
17040
|
+
"application/json": components["schemas"]["OAuthAppCredentialResponse"];
|
|
17041
|
+
};
|
|
17042
|
+
};
|
|
17043
|
+
400: components["responses"]["BadRequest"];
|
|
17044
|
+
403: components["responses"]["Forbidden"];
|
|
17045
|
+
404: components["responses"]["NotFound"];
|
|
17046
|
+
};
|
|
17047
|
+
};
|
|
17048
|
+
deleteOAuthAppCredentials: {
|
|
17049
|
+
parameters: {
|
|
17050
|
+
query?: never;
|
|
17051
|
+
header?: never;
|
|
17052
|
+
path: {
|
|
17053
|
+
agent_id: components["parameters"]["AgentId"];
|
|
17054
|
+
/** @description Provider identifier (e.g. "github", "google", "slack") */
|
|
17055
|
+
provider_slug: string;
|
|
17056
|
+
};
|
|
17057
|
+
cookie?: never;
|
|
17058
|
+
};
|
|
17059
|
+
requestBody?: never;
|
|
17060
|
+
responses: {
|
|
17061
|
+
/** @description Credentials deleted */
|
|
17062
|
+
204: {
|
|
17063
|
+
headers: {
|
|
17064
|
+
[name: string]: unknown;
|
|
17065
|
+
};
|
|
17066
|
+
content?: never;
|
|
17067
|
+
};
|
|
17068
|
+
403: components["responses"]["Forbidden"];
|
|
17069
|
+
404: components["responses"]["NotFound"];
|
|
17070
|
+
};
|
|
17071
|
+
};
|
|
17072
|
+
oauthConnectCallback: {
|
|
17073
|
+
parameters: {
|
|
17074
|
+
query?: {
|
|
17075
|
+
/** @description Authorization code from the OAuth provider */
|
|
17076
|
+
code?: string;
|
|
17077
|
+
/** @description Opaque state parameter for CSRF protection and session binding */
|
|
17078
|
+
state?: string;
|
|
17079
|
+
/** @description Error code if the authorization was denied or failed */
|
|
17080
|
+
error?: string;
|
|
17081
|
+
};
|
|
17082
|
+
header?: never;
|
|
17083
|
+
path?: never;
|
|
17084
|
+
cookie?: never;
|
|
17085
|
+
};
|
|
17086
|
+
requestBody?: never;
|
|
17087
|
+
responses: {
|
|
17088
|
+
/** @description Redirect to dashboard with success or error status */
|
|
17089
|
+
302: {
|
|
17090
|
+
headers: {
|
|
17091
|
+
[name: string]: unknown;
|
|
17092
|
+
};
|
|
17093
|
+
content?: never;
|
|
17094
|
+
};
|
|
17095
|
+
};
|
|
17096
|
+
};
|
|
16590
17097
|
}
|
|
16591
17098
|
//# sourceMappingURL=api-types.d.ts.map
|