@agent-os-sdk/client 0.9.37 → 0.9.39
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/client/AgentOsClient.d.ts +2 -0
- package/dist/client/AgentOsClient.d.ts.map +1 -1
- package/dist/client/AgentOsClient.js +3 -0
- package/dist/generated/openapi.d.ts +354 -0
- package/dist/generated/openapi.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/modules/agents.d.ts +10 -2
- package/dist/modules/agents.d.ts.map +1 -1
- package/dist/modules/agents.js +6 -0
- package/dist/modules/providers.d.ts +82 -0
- package/dist/modules/providers.d.ts.map +1 -0
- package/dist/modules/providers.js +259 -0
- package/dist/modules/runs.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -61,6 +61,7 @@ import { ObservabilityModule } from "../modules/observability.js";
|
|
|
61
61
|
import { PlaygroundModule } from "../modules/playground.js";
|
|
62
62
|
import { PresetsModule } from "../modules/presets.js";
|
|
63
63
|
import { PromptsModule } from "../modules/prompts.js";
|
|
64
|
+
import { ProvidersModule } from "../modules/providers.js";
|
|
64
65
|
import { StoreModule } from "../modules/store.js";
|
|
65
66
|
import { TemplatesModule } from "../modules/templates.js";
|
|
66
67
|
import { TracesModule } from "../modules/traces.js";
|
|
@@ -110,6 +111,7 @@ export declare class AgentOsClient {
|
|
|
110
111
|
readonly observability: ObservabilityModule;
|
|
111
112
|
readonly templates: TemplatesModule;
|
|
112
113
|
readonly workbench: WorkbenchModule;
|
|
114
|
+
readonly providers: ProvidersModule;
|
|
113
115
|
readonly experiments: {
|
|
114
116
|
list: EvaluationModule["listExperiments"];
|
|
115
117
|
get: EvaluationModule["getExperiment"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentOsClient.d.ts","sourceRoot":"","sources":["../../src/client/AgentOsClient.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;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AC,SAAS,EAAE,eAAe,CAAC;IACpC,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAC;IAGpC,QAAQ,CAAC,WAAW,EAAE;QAClB,IAAI,EAAE,gBAAgB,CAAC,iBAAiB,CAAC,CAAC;QAC1C,GAAG,EAAE,gBAAgB,CAAC,eAAe,CAAC,CAAC;QACvC,MAAM,EAAE,gBAAgB,CAAC,kBAAkB,CAAC,CAAC;KAChD,CAAC;IAEF,SAAgB,SAAS,EAAE,eAAe,CAAC;IAC3C,SAAgB,WAAW,EAAE,iBAAiB,CAAC;IAC/C,SAAgB,OAAO,EAAE,aAAa,CAAC;gBAI3B,OAAO,EAAE,oBAAoB;IA4EzC;;OAEG;IACH,OAAO,CAAC,aAAa;IAYrB;;;;;;OAMG;YACW,eAAe;IAwC7B;;OAEG;IACG,eAAe,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAIxD,yBAAyB;IACzB,IAAI,QAAQ,IAAI,WAAW,GAAG,KAAK,CAElC;IAED,4CAA4C;IAC5C,IAAI,GAAG,IAAI,SAAS,CAEnB;CACJ"}
|
|
@@ -62,6 +62,7 @@ import { ObservabilityModule } from "../modules/observability.js";
|
|
|
62
62
|
import { PlaygroundModule } from "../modules/playground.js";
|
|
63
63
|
import { PresetsModule } from "../modules/presets.js";
|
|
64
64
|
import { PromptsModule } from "../modules/prompts.js";
|
|
65
|
+
import { ProvidersModule } from "../modules/providers.js";
|
|
65
66
|
import { StoreModule } from "../modules/store.js";
|
|
66
67
|
import { TemplatesModule } from "../modules/templates.js";
|
|
67
68
|
import { TracesModule } from "../modules/traces.js";
|
|
@@ -113,6 +114,7 @@ export class AgentOsClient {
|
|
|
113
114
|
observability;
|
|
114
115
|
templates;
|
|
115
116
|
workbench;
|
|
117
|
+
providers;
|
|
116
118
|
// Convenience aliases
|
|
117
119
|
experiments;
|
|
118
120
|
apiTokens;
|
|
@@ -174,6 +176,7 @@ export class AgentOsClient {
|
|
|
174
176
|
this.observability = new ObservabilityModule(this._client, getHeaders);
|
|
175
177
|
this.templates = new TemplatesModule(this._client, getHeaders);
|
|
176
178
|
this.workbench = new WorkbenchModule(this._client);
|
|
179
|
+
this.providers = new ProvidersModule(this._client, getHeaders);
|
|
177
180
|
// Initialize convenience aliases
|
|
178
181
|
this.experiments = {
|
|
179
182
|
list: this.evaluation.listExperiments.bind(this.evaluation),
|
|
@@ -1117,6 +1117,65 @@ export interface paths {
|
|
|
1117
1117
|
patch?: never;
|
|
1118
1118
|
trace?: never;
|
|
1119
1119
|
};
|
|
1120
|
+
"/v1/api/agents/provision": {
|
|
1121
|
+
parameters: {
|
|
1122
|
+
query?: never;
|
|
1123
|
+
header?: never;
|
|
1124
|
+
path?: never;
|
|
1125
|
+
cookie?: never;
|
|
1126
|
+
};
|
|
1127
|
+
get?: never;
|
|
1128
|
+
put?: never;
|
|
1129
|
+
post: {
|
|
1130
|
+
parameters: {
|
|
1131
|
+
query?: never;
|
|
1132
|
+
header?: never;
|
|
1133
|
+
path?: never;
|
|
1134
|
+
cookie?: never;
|
|
1135
|
+
};
|
|
1136
|
+
requestBody?: {
|
|
1137
|
+
content: {
|
|
1138
|
+
"application/json": components["schemas"]["ProvisionAgentRequest"];
|
|
1139
|
+
"text/json": components["schemas"]["ProvisionAgentRequest"];
|
|
1140
|
+
"application/*+json": components["schemas"]["ProvisionAgentRequest"];
|
|
1141
|
+
};
|
|
1142
|
+
};
|
|
1143
|
+
responses: {
|
|
1144
|
+
/** @description Created */
|
|
1145
|
+
201: {
|
|
1146
|
+
headers: {
|
|
1147
|
+
[name: string]: unknown;
|
|
1148
|
+
};
|
|
1149
|
+
content: {
|
|
1150
|
+
"application/json": components["schemas"]["ProvisionAgentResponse"];
|
|
1151
|
+
};
|
|
1152
|
+
};
|
|
1153
|
+
/** @description Bad Request */
|
|
1154
|
+
400: {
|
|
1155
|
+
headers: {
|
|
1156
|
+
[name: string]: unknown;
|
|
1157
|
+
};
|
|
1158
|
+
content: {
|
|
1159
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
1160
|
+
};
|
|
1161
|
+
};
|
|
1162
|
+
/** @description Unauthorized */
|
|
1163
|
+
401: {
|
|
1164
|
+
headers: {
|
|
1165
|
+
[name: string]: unknown;
|
|
1166
|
+
};
|
|
1167
|
+
content: {
|
|
1168
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
1169
|
+
};
|
|
1170
|
+
};
|
|
1171
|
+
};
|
|
1172
|
+
};
|
|
1173
|
+
delete?: never;
|
|
1174
|
+
options?: never;
|
|
1175
|
+
head?: never;
|
|
1176
|
+
patch?: never;
|
|
1177
|
+
trace?: never;
|
|
1178
|
+
};
|
|
1120
1179
|
"/v1/api/agents/{id}": {
|
|
1121
1180
|
parameters: {
|
|
1122
1181
|
query?: never;
|
|
@@ -1296,6 +1355,69 @@ export interface paths {
|
|
|
1296
1355
|
};
|
|
1297
1356
|
trace?: never;
|
|
1298
1357
|
};
|
|
1358
|
+
"/v1/api/agents/{id}/draft-surface": {
|
|
1359
|
+
parameters: {
|
|
1360
|
+
query?: never;
|
|
1361
|
+
header?: never;
|
|
1362
|
+
path?: never;
|
|
1363
|
+
cookie?: never;
|
|
1364
|
+
};
|
|
1365
|
+
/** Returns the canonical draft surface/readiness for the current saved draft revision. */
|
|
1366
|
+
get: {
|
|
1367
|
+
parameters: {
|
|
1368
|
+
query?: never;
|
|
1369
|
+
header?: never;
|
|
1370
|
+
path: {
|
|
1371
|
+
id: string;
|
|
1372
|
+
};
|
|
1373
|
+
cookie?: never;
|
|
1374
|
+
};
|
|
1375
|
+
requestBody?: never;
|
|
1376
|
+
responses: {
|
|
1377
|
+
/** @description OK */
|
|
1378
|
+
200: {
|
|
1379
|
+
headers: {
|
|
1380
|
+
[name: string]: unknown;
|
|
1381
|
+
};
|
|
1382
|
+
content: {
|
|
1383
|
+
"application/json": components["schemas"]["AgentDraftSurfaceResponse"];
|
|
1384
|
+
};
|
|
1385
|
+
};
|
|
1386
|
+
/** @description Bad Request */
|
|
1387
|
+
400: {
|
|
1388
|
+
headers: {
|
|
1389
|
+
[name: string]: unknown;
|
|
1390
|
+
};
|
|
1391
|
+
content: {
|
|
1392
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
1393
|
+
};
|
|
1394
|
+
};
|
|
1395
|
+
/** @description Not Found */
|
|
1396
|
+
404: {
|
|
1397
|
+
headers: {
|
|
1398
|
+
[name: string]: unknown;
|
|
1399
|
+
};
|
|
1400
|
+
content: {
|
|
1401
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
1402
|
+
};
|
|
1403
|
+
};
|
|
1404
|
+
/** @description Service Unavailable */
|
|
1405
|
+
503: {
|
|
1406
|
+
headers: {
|
|
1407
|
+
[name: string]: unknown;
|
|
1408
|
+
};
|
|
1409
|
+
content?: never;
|
|
1410
|
+
};
|
|
1411
|
+
};
|
|
1412
|
+
};
|
|
1413
|
+
put?: never;
|
|
1414
|
+
post?: never;
|
|
1415
|
+
delete?: never;
|
|
1416
|
+
options?: never;
|
|
1417
|
+
head?: never;
|
|
1418
|
+
patch?: never;
|
|
1419
|
+
trace?: never;
|
|
1420
|
+
};
|
|
1299
1421
|
"/v1/api/agents/{id}/credential-bindings": {
|
|
1300
1422
|
parameters: {
|
|
1301
1423
|
query?: never;
|
|
@@ -2756,6 +2878,43 @@ export interface paths {
|
|
|
2756
2878
|
patch?: never;
|
|
2757
2879
|
trace?: never;
|
|
2758
2880
|
};
|
|
2881
|
+
"/v1/api/agents/{agentId}/bundles/{bundleId}/graph/json": {
|
|
2882
|
+
parameters: {
|
|
2883
|
+
query?: never;
|
|
2884
|
+
header?: never;
|
|
2885
|
+
path?: never;
|
|
2886
|
+
cookie?: never;
|
|
2887
|
+
};
|
|
2888
|
+
/** Get canonical graph JSON for a bundle. */
|
|
2889
|
+
get: {
|
|
2890
|
+
parameters: {
|
|
2891
|
+
query?: never;
|
|
2892
|
+
header?: never;
|
|
2893
|
+
path: {
|
|
2894
|
+
agentId: string;
|
|
2895
|
+
bundleId: string;
|
|
2896
|
+
};
|
|
2897
|
+
cookie?: never;
|
|
2898
|
+
};
|
|
2899
|
+
requestBody?: never;
|
|
2900
|
+
responses: {
|
|
2901
|
+
/** @description OK */
|
|
2902
|
+
200: {
|
|
2903
|
+
headers: {
|
|
2904
|
+
[name: string]: unknown;
|
|
2905
|
+
};
|
|
2906
|
+
content?: never;
|
|
2907
|
+
};
|
|
2908
|
+
};
|
|
2909
|
+
};
|
|
2910
|
+
put?: never;
|
|
2911
|
+
post?: never;
|
|
2912
|
+
delete?: never;
|
|
2913
|
+
options?: never;
|
|
2914
|
+
head?: never;
|
|
2915
|
+
patch?: never;
|
|
2916
|
+
trace?: never;
|
|
2917
|
+
};
|
|
2759
2918
|
"/v1/api/catalog/nodes": {
|
|
2760
2919
|
parameters: {
|
|
2761
2920
|
query?: never;
|
|
@@ -6955,6 +7114,61 @@ export interface paths {
|
|
|
6955
7114
|
patch?: never;
|
|
6956
7115
|
trace?: never;
|
|
6957
7116
|
};
|
|
7117
|
+
"/v1/api/providers/bindings/rotate-endpoint-token": {
|
|
7118
|
+
parameters: {
|
|
7119
|
+
query?: never;
|
|
7120
|
+
header?: never;
|
|
7121
|
+
path?: never;
|
|
7122
|
+
cookie?: never;
|
|
7123
|
+
};
|
|
7124
|
+
get?: never;
|
|
7125
|
+
put?: never;
|
|
7126
|
+
post: {
|
|
7127
|
+
parameters: {
|
|
7128
|
+
query?: {
|
|
7129
|
+
bindingRef?: string;
|
|
7130
|
+
};
|
|
7131
|
+
header?: never;
|
|
7132
|
+
path?: never;
|
|
7133
|
+
cookie?: never;
|
|
7134
|
+
};
|
|
7135
|
+
requestBody?: never;
|
|
7136
|
+
responses: {
|
|
7137
|
+
/** @description OK */
|
|
7138
|
+
200: {
|
|
7139
|
+
headers: {
|
|
7140
|
+
[name: string]: unknown;
|
|
7141
|
+
};
|
|
7142
|
+
content: {
|
|
7143
|
+
"application/json": components["schemas"]["RotateEndpointTokenResultDto"];
|
|
7144
|
+
};
|
|
7145
|
+
};
|
|
7146
|
+
/** @description Not Found */
|
|
7147
|
+
404: {
|
|
7148
|
+
headers: {
|
|
7149
|
+
[name: string]: unknown;
|
|
7150
|
+
};
|
|
7151
|
+
content: {
|
|
7152
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
7153
|
+
};
|
|
7154
|
+
};
|
|
7155
|
+
/** @description Conflict */
|
|
7156
|
+
409: {
|
|
7157
|
+
headers: {
|
|
7158
|
+
[name: string]: unknown;
|
|
7159
|
+
};
|
|
7160
|
+
content: {
|
|
7161
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
7162
|
+
};
|
|
7163
|
+
};
|
|
7164
|
+
};
|
|
7165
|
+
};
|
|
7166
|
+
delete?: never;
|
|
7167
|
+
options?: never;
|
|
7168
|
+
head?: never;
|
|
7169
|
+
patch?: never;
|
|
7170
|
+
trace?: never;
|
|
7171
|
+
};
|
|
6958
7172
|
"/v1/api/providers/bindings/send": {
|
|
6959
7173
|
parameters: {
|
|
6960
7174
|
query?: never;
|
|
@@ -12302,6 +12516,15 @@ export interface components {
|
|
|
12302
12516
|
data?: components["schemas"]["AgentDraftIrResponse"];
|
|
12303
12517
|
hints?: components["schemas"]["ApiHint"][] | null;
|
|
12304
12518
|
};
|
|
12519
|
+
AgentDraftSurfaceResponse: {
|
|
12520
|
+
/** Format: uuid */
|
|
12521
|
+
agent_id?: string;
|
|
12522
|
+
agent_status?: string | null;
|
|
12523
|
+
draft_revision_id?: string | null;
|
|
12524
|
+
live_revision_id?: string | null;
|
|
12525
|
+
state?: string | null;
|
|
12526
|
+
blockers?: components["schemas"]["PublishPreviewIssue"][] | null;
|
|
12527
|
+
};
|
|
12305
12528
|
AgentExportAgent: {
|
|
12306
12529
|
/** Format: uuid */
|
|
12307
12530
|
id?: string;
|
|
@@ -12353,6 +12576,26 @@ export interface components {
|
|
|
12353
12576
|
/** Format: int32 */
|
|
12354
12577
|
count?: number;
|
|
12355
12578
|
};
|
|
12579
|
+
AgentResponse: {
|
|
12580
|
+
/** Format: uuid */
|
|
12581
|
+
id?: string;
|
|
12582
|
+
/** Format: uuid */
|
|
12583
|
+
tenant_id?: string;
|
|
12584
|
+
/** Format: uuid */
|
|
12585
|
+
workspace_id?: string;
|
|
12586
|
+
name?: string | null;
|
|
12587
|
+
/** Format: uuid */
|
|
12588
|
+
live_bundle_id?: string | null;
|
|
12589
|
+
/** Format: date-time */
|
|
12590
|
+
updated_at?: string;
|
|
12591
|
+
agent_status?: string | null;
|
|
12592
|
+
/** Format: uuid */
|
|
12593
|
+
last_run_id?: string | null;
|
|
12594
|
+
last_run_status?: string | null;
|
|
12595
|
+
/** Format: date-time */
|
|
12596
|
+
last_run_at?: string | null;
|
|
12597
|
+
metadata?: components["schemas"]["JsonNode"];
|
|
12598
|
+
};
|
|
12356
12599
|
AgentRollbackResponse: {
|
|
12357
12600
|
/** Format: uuid */
|
|
12358
12601
|
agent_id?: string;
|
|
@@ -12360,6 +12603,33 @@ export interface components {
|
|
|
12360
12603
|
live_bundle_id?: string;
|
|
12361
12604
|
rollback_release?: components["schemas"]["AgentPublishHistoryItem"];
|
|
12362
12605
|
};
|
|
12606
|
+
AgentRuntimeModel: {
|
|
12607
|
+
/** Format: uuid */
|
|
12608
|
+
agent_id?: string;
|
|
12609
|
+
agent_ref?: string | null;
|
|
12610
|
+
/** Format: uuid */
|
|
12611
|
+
live_bundle_id?: string | null;
|
|
12612
|
+
live_bundle_hash?: string | null;
|
|
12613
|
+
live_bundle_format?: string | null;
|
|
12614
|
+
live_bundle_artifact_uri?: string | null;
|
|
12615
|
+
live_bundle_content_hash?: string | null;
|
|
12616
|
+
channel_profile?: string | null;
|
|
12617
|
+
inbound_endpoint?: components["schemas"]["EndpointContract"];
|
|
12618
|
+
outbound_endpoint?: components["schemas"]["EndpointContract"];
|
|
12619
|
+
provider_binding?: components["schemas"]["AgentRuntimeProviderBindingContract"];
|
|
12620
|
+
execution_contract?: string | null;
|
|
12621
|
+
restore_policy?: string | null;
|
|
12622
|
+
dispatch_contract?: string | null;
|
|
12623
|
+
status?: string | null;
|
|
12624
|
+
};
|
|
12625
|
+
AgentRuntimeProviderBindingContract: {
|
|
12626
|
+
/** Format: uuid */
|
|
12627
|
+
provider_binding_id?: string;
|
|
12628
|
+
binding_ref?: string | null;
|
|
12629
|
+
provider_slug?: string | null;
|
|
12630
|
+
channel_kind?: string | null;
|
|
12631
|
+
external_instance_ref?: string | null;
|
|
12632
|
+
};
|
|
12363
12633
|
ApiHint: {
|
|
12364
12634
|
type?: string | null;
|
|
12365
12635
|
severity?: string | null;
|
|
@@ -12741,6 +13011,7 @@ export interface components {
|
|
|
12741
13011
|
rerun_of_run_id?: string | null;
|
|
12742
13012
|
/** Format: uuid */
|
|
12743
13013
|
correlation_id?: string | null;
|
|
13014
|
+
output_endpoint?: components["schemas"]["EndpointContract"];
|
|
12744
13015
|
};
|
|
12745
13016
|
CreateTenantRequest: {
|
|
12746
13017
|
name?: string | null;
|
|
@@ -12916,6 +13187,21 @@ export interface components {
|
|
|
12916
13187
|
/** Format: date-time */
|
|
12917
13188
|
updatedAt?: string;
|
|
12918
13189
|
};
|
|
13190
|
+
EndpointContract: {
|
|
13191
|
+
/** Format: uuid */
|
|
13192
|
+
endpoint_id?: string | null;
|
|
13193
|
+
endpoint_kind?: string | null;
|
|
13194
|
+
direction?: string | null;
|
|
13195
|
+
transport_kind?: string | null;
|
|
13196
|
+
auth_policy?: string | null;
|
|
13197
|
+
replay_policy?: string | null;
|
|
13198
|
+
dispatch_mode?: string | null;
|
|
13199
|
+
provider_binding_ref?: string | null;
|
|
13200
|
+
canonical_mapping?: string | null;
|
|
13201
|
+
endpoint_token?: string | null;
|
|
13202
|
+
transport_address?: string | null;
|
|
13203
|
+
is_enabled?: boolean;
|
|
13204
|
+
};
|
|
12919
13205
|
EnsureMembershipRequest: {
|
|
12920
13206
|
/** Format: uuid */
|
|
12921
13207
|
tenant_id?: string | null;
|
|
@@ -13481,6 +13767,7 @@ export interface components {
|
|
|
13481
13767
|
qr_code_raw?: string | null;
|
|
13482
13768
|
errors?: components["schemas"]["ProviderValidationIssueDto"][] | null;
|
|
13483
13769
|
warnings?: components["schemas"]["ProviderValidationIssueDto"][] | null;
|
|
13770
|
+
qr_ready?: boolean;
|
|
13484
13771
|
};
|
|
13485
13772
|
ProviderBindingDetailDto: {
|
|
13486
13773
|
/** Format: uuid */
|
|
@@ -13504,6 +13791,7 @@ export interface components {
|
|
|
13504
13791
|
invoke_path?: string | null;
|
|
13505
13792
|
template_slug?: string | null;
|
|
13506
13793
|
status?: string | null;
|
|
13794
|
+
require_signature?: boolean;
|
|
13507
13795
|
replay_mode?: string | null;
|
|
13508
13796
|
secret_configured?: boolean;
|
|
13509
13797
|
secret_source_kind?: string | null;
|
|
@@ -13518,23 +13806,34 @@ export interface components {
|
|
|
13518
13806
|
secret_rotated_at?: string | null;
|
|
13519
13807
|
/** Format: date-time */
|
|
13520
13808
|
previous_secret_valid_until?: string | null;
|
|
13809
|
+
has_previous_endpoint_token?: boolean;
|
|
13810
|
+
/** Format: date-time */
|
|
13811
|
+
endpoint_token_rotated_at?: string | null;
|
|
13812
|
+
/** Format: date-time */
|
|
13813
|
+
previous_endpoint_valid_until?: string | null;
|
|
13521
13814
|
};
|
|
13522
13815
|
ProviderBindingHealthDto: {
|
|
13523
13816
|
binding_status?: string | null;
|
|
13524
13817
|
endpoint_status?: string | null;
|
|
13818
|
+
router_status?: string | null;
|
|
13525
13819
|
worker_status?: string | null;
|
|
13526
13820
|
credential_configured?: boolean;
|
|
13821
|
+
require_signature?: boolean | null;
|
|
13527
13822
|
secret_configured?: boolean;
|
|
13528
13823
|
replay_mode?: string | null;
|
|
13529
13824
|
has_previous_secret?: boolean;
|
|
13530
13825
|
/** Format: date-time */
|
|
13531
13826
|
previous_secret_valid_until?: string | null;
|
|
13827
|
+
has_previous_endpoint_token?: boolean;
|
|
13828
|
+
/** Format: date-time */
|
|
13829
|
+
previous_endpoint_valid_until?: string | null;
|
|
13532
13830
|
};
|
|
13533
13831
|
ProviderBindingProbeResponseDto: {
|
|
13534
13832
|
status?: string | null;
|
|
13535
13833
|
provider_slug?: string | null;
|
|
13536
13834
|
binding_ref?: string | null;
|
|
13537
13835
|
instance_match?: boolean | null;
|
|
13836
|
+
router_reachable?: boolean | null;
|
|
13538
13837
|
worker_reachable?: boolean | null;
|
|
13539
13838
|
credential_valid?: boolean | null;
|
|
13540
13839
|
capabilities_detected?: string[] | null;
|
|
@@ -13563,6 +13862,7 @@ export interface components {
|
|
|
13563
13862
|
channel_kind?: string | null;
|
|
13564
13863
|
display_name?: string | null;
|
|
13565
13864
|
credential_ref?: string | null;
|
|
13865
|
+
router_ref?: string | null;
|
|
13566
13866
|
worker_ref?: string | null;
|
|
13567
13867
|
external_instance_ref?: string | null;
|
|
13568
13868
|
webhook?: components["schemas"]["WebhookSpecDto"];
|
|
@@ -13726,6 +14026,52 @@ export interface components {
|
|
|
13726
14026
|
errors?: components["schemas"]["ProviderValidationIssueDto"][] | null;
|
|
13727
14027
|
warnings?: components["schemas"]["ProviderValidationIssueDto"][] | null;
|
|
13728
14028
|
};
|
|
14029
|
+
ProvisionAgentProviderRequest: {
|
|
14030
|
+
binding_ref?: string | null;
|
|
14031
|
+
provider_slug?: string | null;
|
|
14032
|
+
channel_kind?: string | null;
|
|
14033
|
+
display_name?: string | null;
|
|
14034
|
+
credential_ref?: string | null;
|
|
14035
|
+
router_ref?: string | null;
|
|
14036
|
+
worker_ref?: string | null;
|
|
14037
|
+
external_instance_ref?: string | null;
|
|
14038
|
+
secret_ref?: string | null;
|
|
14039
|
+
require_signature?: boolean | null;
|
|
14040
|
+
replay_mode?: string | null;
|
|
14041
|
+
sync_connection?: boolean;
|
|
14042
|
+
settings?: {
|
|
14043
|
+
[key: string]: unknown;
|
|
14044
|
+
} | null;
|
|
14045
|
+
};
|
|
14046
|
+
ProvisionAgentRequest: {
|
|
14047
|
+
name?: string | null;
|
|
14048
|
+
channel_profile?: string | null;
|
|
14049
|
+
provider?: components["schemas"]["ProvisionAgentProviderRequest"];
|
|
14050
|
+
metadata?: components["schemas"]["JsonNode"];
|
|
14051
|
+
version_label?: string | null;
|
|
14052
|
+
};
|
|
14053
|
+
ProvisionAgentResponse: {
|
|
14054
|
+
agent?: components["schemas"]["AgentResponse"];
|
|
14055
|
+
bundle?: components["schemas"]["BundleResponse"];
|
|
14056
|
+
agent_ref?: string | null;
|
|
14057
|
+
channel_profile?: string | null;
|
|
14058
|
+
input_text_path?: string | null;
|
|
14059
|
+
provider_binding?: components["schemas"]["ProvisionedProviderBindingResponse"];
|
|
14060
|
+
runtime_model?: components["schemas"]["AgentRuntimeModel"];
|
|
14061
|
+
};
|
|
14062
|
+
ProvisionedProviderBindingResponse: {
|
|
14063
|
+
binding_ref?: string | null;
|
|
14064
|
+
provider_slug?: string | null;
|
|
14065
|
+
channel_kind?: string | null;
|
|
14066
|
+
target_ref?: string | null;
|
|
14067
|
+
endpoint_ref?: string | null;
|
|
14068
|
+
invoke_path?: string | null;
|
|
14069
|
+
secret_key?: string | null;
|
|
14070
|
+
connection?: components["schemas"]["ProviderBindingConnectionResponseDto"];
|
|
14071
|
+
credential_ref?: string | null;
|
|
14072
|
+
router_ref?: string | null;
|
|
14073
|
+
external_instance_ref?: string | null;
|
|
14074
|
+
};
|
|
13729
14075
|
PublishAgentRequest: {
|
|
13730
14076
|
version_label?: string | null;
|
|
13731
14077
|
set_as_live?: boolean;
|
|
@@ -13854,6 +14200,13 @@ export interface components {
|
|
|
13854
14200
|
RollbackImprovementCaseRequest: {
|
|
13855
14201
|
reason?: string | null;
|
|
13856
14202
|
};
|
|
14203
|
+
RotateEndpointTokenResultDto: {
|
|
14204
|
+
binding_ref?: string | null;
|
|
14205
|
+
endpoint_token?: string | null;
|
|
14206
|
+
invoke_path?: string | null;
|
|
14207
|
+
/** Format: date-time */
|
|
14208
|
+
previous_endpoint_valid_until?: string | null;
|
|
14209
|
+
};
|
|
13857
14210
|
RotateSecretResultDto: {
|
|
13858
14211
|
binding_ref?: string | null;
|
|
13859
14212
|
invoke_path?: string | null;
|
|
@@ -14903,6 +15256,7 @@ export interface components {
|
|
|
14903
15256
|
};
|
|
14904
15257
|
WebhookSpecDto: {
|
|
14905
15258
|
secret_ref?: string | null;
|
|
15259
|
+
require_signature?: boolean | null;
|
|
14906
15260
|
replay_mode?: string | null;
|
|
14907
15261
|
};
|
|
14908
15262
|
WhatsappWorkerListResponse: {
|