@mastra/client-js 1.21.2-alpha.2 → 1.22.0-alpha.4
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/CHANGELOG.md +139 -0
- package/dist/docs/SKILL.md +2 -2
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/docs-agents-signals.md +132 -71
- package/dist/index.cjs +144 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +144 -8
- package/dist/index.js.map +1 -1
- package/dist/resources/run.d.ts +25 -0
- package/dist/resources/run.d.ts.map +1 -1
- package/dist/resources/tool-provider.d.ts +57 -10
- package/dist/resources/tool-provider.d.ts.map +1 -1
- package/dist/route-types.generated.d.ts +1490 -76
- package/dist/route-types.generated.d.ts.map +1 -1
- package/dist/types.d.ts +74 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -807,6 +807,68 @@ export type PostAgentsAgentIdClone_Response = {
|
|
|
807
807
|
})[];
|
|
808
808
|
} | undefined;
|
|
809
809
|
}[]) | undefined;
|
|
810
|
+
/** Tool provider connections and per-tool config (provider-agnostic). Coexists with the deprecated `integrationTools` field. */
|
|
811
|
+
toolProviders?: ({
|
|
812
|
+
[key: string]: {
|
|
813
|
+
tools: {
|
|
814
|
+
[key: string]: {
|
|
815
|
+
toolkit?: string | undefined;
|
|
816
|
+
description?: string | undefined;
|
|
817
|
+
};
|
|
818
|
+
};
|
|
819
|
+
connections: {
|
|
820
|
+
[key: string]: {
|
|
821
|
+
kind: 'author' | 'invoker' | 'platform';
|
|
822
|
+
toolkit: string;
|
|
823
|
+
connectionId: string;
|
|
824
|
+
label?: string | undefined;
|
|
825
|
+
scope?: ('shared' | 'per-author' | 'caller-supplied') | undefined;
|
|
826
|
+
}[];
|
|
827
|
+
};
|
|
828
|
+
};
|
|
829
|
+
} | {
|
|
830
|
+
value: {
|
|
831
|
+
[key: string]: {
|
|
832
|
+
tools: {
|
|
833
|
+
[key: string]: {
|
|
834
|
+
toolkit?: string | undefined;
|
|
835
|
+
description?: string | undefined;
|
|
836
|
+
};
|
|
837
|
+
};
|
|
838
|
+
connections: {
|
|
839
|
+
[key: string]: {
|
|
840
|
+
kind: 'author' | 'invoker' | 'platform';
|
|
841
|
+
toolkit: string;
|
|
842
|
+
connectionId: string;
|
|
843
|
+
label?: string | undefined;
|
|
844
|
+
scope?: ('shared' | 'per-author' | 'caller-supplied') | undefined;
|
|
845
|
+
}[];
|
|
846
|
+
};
|
|
847
|
+
};
|
|
848
|
+
};
|
|
849
|
+
rules?: {
|
|
850
|
+
operator: 'AND' | 'OR';
|
|
851
|
+
conditions: ({
|
|
852
|
+
field: string;
|
|
853
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
854
|
+
value?: unknown | undefined;
|
|
855
|
+
} | {
|
|
856
|
+
operator: 'AND' | 'OR';
|
|
857
|
+
conditions: ({
|
|
858
|
+
field: string;
|
|
859
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
860
|
+
value?: unknown | undefined;
|
|
861
|
+
} | {
|
|
862
|
+
operator: 'AND' | 'OR';
|
|
863
|
+
conditions: {
|
|
864
|
+
field: string;
|
|
865
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
866
|
+
value?: unknown | undefined;
|
|
867
|
+
}[];
|
|
868
|
+
})[];
|
|
869
|
+
})[];
|
|
870
|
+
} | undefined;
|
|
871
|
+
}[]) | undefined;
|
|
810
872
|
/** Map of stored MCP client IDs to their tool configurations — static or conditional */
|
|
811
873
|
mcpClients?: ({
|
|
812
874
|
[key: string]: {
|
|
@@ -3040,30 +3102,207 @@ export interface PostAgentsAgentIdObserve_RouteContract {
|
|
|
3040
3102
|
response: PostAgentsAgentIdObserve_Response;
|
|
3041
3103
|
responseType: 'stream';
|
|
3042
3104
|
}
|
|
3043
|
-
export type
|
|
3105
|
+
export type PostAgentsAgentIdSendMessage_PathParams = {
|
|
3044
3106
|
/** Unique identifier for the agent */
|
|
3045
3107
|
agentId: string;
|
|
3046
3108
|
};
|
|
3047
|
-
type
|
|
3048
|
-
[key: string]:
|
|
3109
|
+
type PostAgentsAgentIdSendMessage_Body_Auxiliary_3 = string | number | boolean | null | PostAgentsAgentIdSendMessage_Body_Auxiliary_3[] | {
|
|
3110
|
+
[key: string]: PostAgentsAgentIdSendMessage_Body_Auxiliary_3;
|
|
3049
3111
|
};
|
|
3050
|
-
export type
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3112
|
+
export type PostAgentsAgentIdSendMessage_Body = {
|
|
3113
|
+
ifActive?: {
|
|
3114
|
+
behavior?: ('deliver' | 'persist' | 'discard') | undefined;
|
|
3115
|
+
attributes?: {
|
|
3116
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
3117
|
+
} | undefined;
|
|
3118
|
+
} | undefined;
|
|
3119
|
+
runId: string;
|
|
3120
|
+
resourceId?: string | undefined;
|
|
3121
|
+
threadId?: string | undefined;
|
|
3122
|
+
ifIdle?: undefined | undefined;
|
|
3123
|
+
message: (string | ({
|
|
3124
|
+
type: 'text';
|
|
3125
|
+
text: string;
|
|
3126
|
+
providerOptions?: {
|
|
3127
|
+
[key: string]: {
|
|
3128
|
+
[key: string]: PostAgentsAgentIdSendMessage_Body_Auxiliary_3;
|
|
3129
|
+
};
|
|
3130
|
+
} | undefined;
|
|
3131
|
+
} | {
|
|
3132
|
+
type: 'file';
|
|
3133
|
+
data: string;
|
|
3134
|
+
mediaType: string;
|
|
3135
|
+
filename?: string | undefined;
|
|
3136
|
+
providerOptions?: {
|
|
3137
|
+
[key: string]: {
|
|
3138
|
+
[key: string]: PostAgentsAgentIdSendMessage_Body_Auxiliary_3;
|
|
3139
|
+
};
|
|
3140
|
+
} | undefined;
|
|
3141
|
+
})[]) | {
|
|
3142
|
+
contents: string | ({
|
|
3143
|
+
type: 'text';
|
|
3144
|
+
text: string;
|
|
3145
|
+
providerOptions?: {
|
|
3146
|
+
[key: string]: {
|
|
3147
|
+
[key: string]: PostAgentsAgentIdSendMessage_Body_Auxiliary_3;
|
|
3148
|
+
};
|
|
3149
|
+
} | undefined;
|
|
3150
|
+
} | {
|
|
3151
|
+
type: 'file';
|
|
3152
|
+
data: string;
|
|
3153
|
+
mediaType: string;
|
|
3154
|
+
filename?: string | undefined;
|
|
3155
|
+
providerOptions?: {
|
|
3156
|
+
[key: string]: {
|
|
3157
|
+
[key: string]: PostAgentsAgentIdSendMessage_Body_Auxiliary_3;
|
|
3158
|
+
};
|
|
3159
|
+
} | undefined;
|
|
3160
|
+
})[];
|
|
3161
|
+
attributes?: {
|
|
3162
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
3163
|
+
} | undefined;
|
|
3054
3164
|
metadata?: {
|
|
3055
|
-
[key: string]:
|
|
3165
|
+
[key: string]: PostAgentsAgentIdSendMessage_Body_Auxiliary_3;
|
|
3166
|
+
} | undefined;
|
|
3167
|
+
providerOptions?: {
|
|
3168
|
+
[key: string]: {
|
|
3169
|
+
[key: string]: PostAgentsAgentIdSendMessage_Body_Auxiliary_3;
|
|
3170
|
+
};
|
|
3056
3171
|
} | undefined;
|
|
3172
|
+
};
|
|
3173
|
+
} | {
|
|
3174
|
+
ifActive?: {
|
|
3175
|
+
behavior?: ('deliver' | 'persist' | 'discard') | undefined;
|
|
3057
3176
|
attributes?: {
|
|
3058
3177
|
[key: string]: string | number | boolean | null | undefined;
|
|
3059
3178
|
} | undefined;
|
|
3060
|
-
|
|
3179
|
+
} | undefined;
|
|
3180
|
+
runId?: undefined | undefined;
|
|
3181
|
+
resourceId: string;
|
|
3182
|
+
threadId: string;
|
|
3183
|
+
ifIdle?: {
|
|
3184
|
+
behavior?: ('wake' | 'persist' | 'discard') | undefined;
|
|
3185
|
+
streamOptions?: {
|
|
3186
|
+
instructions?: (string | string[] | any | any[]) | undefined;
|
|
3187
|
+
system?: (string | string[] | any | any[]) | undefined;
|
|
3188
|
+
context?: any[] | undefined;
|
|
3189
|
+
memory?: {
|
|
3190
|
+
thread: string | {
|
|
3191
|
+
id: string;
|
|
3192
|
+
[x: string]: unknown;
|
|
3193
|
+
};
|
|
3194
|
+
resource: string;
|
|
3195
|
+
options?: {
|
|
3196
|
+
[key: string]: any;
|
|
3197
|
+
} | undefined;
|
|
3198
|
+
readOnly?: boolean | undefined;
|
|
3199
|
+
} | undefined;
|
|
3200
|
+
runId?: string | undefined;
|
|
3201
|
+
savePerStep?: boolean | undefined;
|
|
3202
|
+
requestContext?: {
|
|
3203
|
+
[key: string]: any;
|
|
3204
|
+
} | undefined;
|
|
3205
|
+
versions?: {
|
|
3206
|
+
agents?: {
|
|
3207
|
+
[key: string]: {
|
|
3208
|
+
versionId: string;
|
|
3209
|
+
} | {
|
|
3210
|
+
status: 'draft' | 'published';
|
|
3211
|
+
};
|
|
3212
|
+
} | undefined;
|
|
3213
|
+
defaultStatus?: ('draft' | 'published') | undefined;
|
|
3214
|
+
} | undefined;
|
|
3215
|
+
maxSteps?: number | undefined;
|
|
3216
|
+
stopWhen?: any | undefined;
|
|
3217
|
+
providerOptions?: {
|
|
3218
|
+
anthropic?: {
|
|
3219
|
+
[key: string]: any;
|
|
3220
|
+
} | undefined;
|
|
3221
|
+
google?: {
|
|
3222
|
+
[key: string]: any;
|
|
3223
|
+
} | undefined;
|
|
3224
|
+
openai?: {
|
|
3225
|
+
[key: string]: any;
|
|
3226
|
+
} | undefined;
|
|
3227
|
+
xai?: {
|
|
3228
|
+
[key: string]: any;
|
|
3229
|
+
} | undefined;
|
|
3230
|
+
} | undefined;
|
|
3231
|
+
modelSettings?: any | undefined;
|
|
3232
|
+
activeTools?: string[] | undefined;
|
|
3233
|
+
toolsets?: {
|
|
3234
|
+
[key: string]: any;
|
|
3235
|
+
} | undefined;
|
|
3236
|
+
clientTools?: {
|
|
3237
|
+
[key: string]: any;
|
|
3238
|
+
} | undefined;
|
|
3239
|
+
toolChoice?: (('auto' | 'none' | 'required') | {
|
|
3240
|
+
type: 'tool';
|
|
3241
|
+
toolName: string;
|
|
3242
|
+
}) | undefined;
|
|
3243
|
+
requireToolApproval?: boolean | undefined;
|
|
3244
|
+
scorers?: ({
|
|
3245
|
+
[key: string]: any;
|
|
3246
|
+
} | {
|
|
3247
|
+
[key: string]: {
|
|
3248
|
+
scorer: string;
|
|
3249
|
+
sampling?: any | undefined;
|
|
3250
|
+
};
|
|
3251
|
+
}) | undefined;
|
|
3252
|
+
returnScorerData?: boolean | undefined;
|
|
3253
|
+
tracingOptions?: {
|
|
3254
|
+
metadata?: {
|
|
3255
|
+
[key: string]: unknown;
|
|
3256
|
+
} | undefined;
|
|
3257
|
+
requestContextKeys?: string[] | undefined;
|
|
3258
|
+
traceId?: string | undefined;
|
|
3259
|
+
parentSpanId?: string | undefined;
|
|
3260
|
+
tags?: string[] | undefined;
|
|
3261
|
+
hideInput?: boolean | undefined;
|
|
3262
|
+
hideOutput?: boolean | undefined;
|
|
3263
|
+
} | undefined;
|
|
3264
|
+
output?: any | undefined;
|
|
3265
|
+
structuredOutput?: {
|
|
3266
|
+
schema: {
|
|
3267
|
+
[x: string]: unknown;
|
|
3268
|
+
};
|
|
3269
|
+
model?: (string | any) | undefined;
|
|
3270
|
+
instructions?: string | undefined;
|
|
3271
|
+
jsonPromptInjection?: boolean | undefined;
|
|
3272
|
+
errorStrategy?: ('strict' | 'warn' | 'fallback') | undefined;
|
|
3273
|
+
fallbackValue?: any | undefined;
|
|
3274
|
+
} | undefined;
|
|
3275
|
+
[x: string]: unknown;
|
|
3276
|
+
} | undefined;
|
|
3277
|
+
attributes?: {
|
|
3278
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
3279
|
+
} | undefined;
|
|
3280
|
+
} | undefined;
|
|
3281
|
+
message: (string | ({
|
|
3282
|
+
type: 'text';
|
|
3283
|
+
text: string;
|
|
3284
|
+
providerOptions?: {
|
|
3285
|
+
[key: string]: {
|
|
3286
|
+
[key: string]: PostAgentsAgentIdSendMessage_Body_Auxiliary_3;
|
|
3287
|
+
};
|
|
3288
|
+
} | undefined;
|
|
3289
|
+
} | {
|
|
3290
|
+
type: 'file';
|
|
3291
|
+
data: string;
|
|
3292
|
+
mediaType: string;
|
|
3293
|
+
filename?: string | undefined;
|
|
3294
|
+
providerOptions?: {
|
|
3295
|
+
[key: string]: {
|
|
3296
|
+
[key: string]: PostAgentsAgentIdSendMessage_Body_Auxiliary_3;
|
|
3297
|
+
};
|
|
3298
|
+
} | undefined;
|
|
3299
|
+
})[]) | {
|
|
3061
3300
|
contents: string | ({
|
|
3062
3301
|
type: 'text';
|
|
3063
3302
|
text: string;
|
|
3064
3303
|
providerOptions?: {
|
|
3065
3304
|
[key: string]: {
|
|
3066
|
-
[key: string]:
|
|
3305
|
+
[key: string]: PostAgentsAgentIdSendMessage_Body_Auxiliary_3;
|
|
3067
3306
|
};
|
|
3068
3307
|
} | undefined;
|
|
3069
3308
|
} | {
|
|
@@ -3073,40 +3312,90 @@ export type PostAgentsAgentIdSignals_Body = {
|
|
|
3073
3312
|
filename?: string | undefined;
|
|
3074
3313
|
providerOptions?: {
|
|
3075
3314
|
[key: string]: {
|
|
3076
|
-
[key: string]:
|
|
3315
|
+
[key: string]: PostAgentsAgentIdSendMessage_Body_Auxiliary_3;
|
|
3077
3316
|
};
|
|
3078
3317
|
} | undefined;
|
|
3079
3318
|
})[];
|
|
3319
|
+
attributes?: {
|
|
3320
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
3321
|
+
} | undefined;
|
|
3322
|
+
metadata?: {
|
|
3323
|
+
[key: string]: PostAgentsAgentIdSendMessage_Body_Auxiliary_3;
|
|
3324
|
+
} | undefined;
|
|
3080
3325
|
providerOptions?: {
|
|
3081
3326
|
[key: string]: {
|
|
3082
|
-
[key: string]:
|
|
3327
|
+
[key: string]: PostAgentsAgentIdSendMessage_Body_Auxiliary_3;
|
|
3083
3328
|
};
|
|
3084
3329
|
} | undefined;
|
|
3085
3330
|
};
|
|
3331
|
+
};
|
|
3332
|
+
export type PostAgentsAgentIdSendMessage_Response = {
|
|
3333
|
+
accepted: true;
|
|
3334
|
+
runId: string;
|
|
3335
|
+
signal?: any | undefined;
|
|
3336
|
+
};
|
|
3337
|
+
export type PostAgentsAgentIdSendMessage_Request = Simplify<(PostAgentsAgentIdSendMessage_PathParams extends never ? {} : {
|
|
3338
|
+
params: PostAgentsAgentIdSendMessage_PathParams;
|
|
3339
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
3340
|
+
query?: never;
|
|
3341
|
+
} : {
|
|
3342
|
+
query: never;
|
|
3343
|
+
}) & (PostAgentsAgentIdSendMessage_Body extends never ? {} : {} extends PostAgentsAgentIdSendMessage_Body ? {
|
|
3344
|
+
body?: PostAgentsAgentIdSendMessage_Body;
|
|
3345
|
+
} : {
|
|
3346
|
+
body: PostAgentsAgentIdSendMessage_Body;
|
|
3347
|
+
})>;
|
|
3348
|
+
export interface PostAgentsAgentIdSendMessage_RouteContract {
|
|
3349
|
+
pathParams: PostAgentsAgentIdSendMessage_PathParams;
|
|
3350
|
+
queryParams: never;
|
|
3351
|
+
body: PostAgentsAgentIdSendMessage_Body;
|
|
3352
|
+
request: PostAgentsAgentIdSendMessage_Request;
|
|
3353
|
+
response: PostAgentsAgentIdSendMessage_Response;
|
|
3354
|
+
responseType: 'json';
|
|
3355
|
+
}
|
|
3356
|
+
export type PostAgentsAgentIdQueueMessage_PathParams = {
|
|
3357
|
+
/** Unique identifier for the agent */
|
|
3358
|
+
agentId: string;
|
|
3359
|
+
};
|
|
3360
|
+
type PostAgentsAgentIdQueueMessage_Body_Auxiliary_3 = string | number | boolean | null | PostAgentsAgentIdQueueMessage_Body_Auxiliary_3[] | {
|
|
3361
|
+
[key: string]: PostAgentsAgentIdQueueMessage_Body_Auxiliary_3;
|
|
3362
|
+
};
|
|
3363
|
+
export type PostAgentsAgentIdQueueMessage_Body = {
|
|
3086
3364
|
ifActive?: {
|
|
3087
3365
|
behavior?: ('deliver' | 'persist' | 'discard') | undefined;
|
|
3366
|
+
attributes?: {
|
|
3367
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
3368
|
+
} | undefined;
|
|
3088
3369
|
} | undefined;
|
|
3089
3370
|
runId: string;
|
|
3090
3371
|
resourceId?: string | undefined;
|
|
3091
3372
|
threadId?: string | undefined;
|
|
3092
3373
|
ifIdle?: undefined | undefined;
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3374
|
+
message: (string | ({
|
|
3375
|
+
type: 'text';
|
|
3376
|
+
text: string;
|
|
3377
|
+
providerOptions?: {
|
|
3378
|
+
[key: string]: {
|
|
3379
|
+
[key: string]: PostAgentsAgentIdQueueMessage_Body_Auxiliary_3;
|
|
3380
|
+
};
|
|
3099
3381
|
} | undefined;
|
|
3100
|
-
|
|
3101
|
-
|
|
3382
|
+
} | {
|
|
3383
|
+
type: 'file';
|
|
3384
|
+
data: string;
|
|
3385
|
+
mediaType: string;
|
|
3386
|
+
filename?: string | undefined;
|
|
3387
|
+
providerOptions?: {
|
|
3388
|
+
[key: string]: {
|
|
3389
|
+
[key: string]: PostAgentsAgentIdQueueMessage_Body_Auxiliary_3;
|
|
3390
|
+
};
|
|
3102
3391
|
} | undefined;
|
|
3103
|
-
|
|
3392
|
+
})[]) | {
|
|
3104
3393
|
contents: string | ({
|
|
3105
3394
|
type: 'text';
|
|
3106
3395
|
text: string;
|
|
3107
3396
|
providerOptions?: {
|
|
3108
3397
|
[key: string]: {
|
|
3109
|
-
[key: string]:
|
|
3398
|
+
[key: string]: PostAgentsAgentIdQueueMessage_Body_Auxiliary_3;
|
|
3110
3399
|
};
|
|
3111
3400
|
} | undefined;
|
|
3112
3401
|
} | {
|
|
@@ -3116,20 +3405,30 @@ export type PostAgentsAgentIdSignals_Body = {
|
|
|
3116
3405
|
filename?: string | undefined;
|
|
3117
3406
|
providerOptions?: {
|
|
3118
3407
|
[key: string]: {
|
|
3119
|
-
[key: string]:
|
|
3408
|
+
[key: string]: PostAgentsAgentIdQueueMessage_Body_Auxiliary_3;
|
|
3120
3409
|
};
|
|
3121
3410
|
} | undefined;
|
|
3122
3411
|
})[];
|
|
3412
|
+
attributes?: {
|
|
3413
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
3414
|
+
} | undefined;
|
|
3415
|
+
metadata?: {
|
|
3416
|
+
[key: string]: PostAgentsAgentIdQueueMessage_Body_Auxiliary_3;
|
|
3417
|
+
} | undefined;
|
|
3123
3418
|
providerOptions?: {
|
|
3124
3419
|
[key: string]: {
|
|
3125
|
-
[key: string]:
|
|
3420
|
+
[key: string]: PostAgentsAgentIdQueueMessage_Body_Auxiliary_3;
|
|
3126
3421
|
};
|
|
3127
3422
|
} | undefined;
|
|
3128
3423
|
};
|
|
3424
|
+
} | {
|
|
3129
3425
|
ifActive?: {
|
|
3130
3426
|
behavior?: ('deliver' | 'persist' | 'discard') | undefined;
|
|
3427
|
+
attributes?: {
|
|
3428
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
3429
|
+
} | undefined;
|
|
3131
3430
|
} | undefined;
|
|
3132
|
-
runId?:
|
|
3431
|
+
runId?: undefined | undefined;
|
|
3133
3432
|
resourceId: string;
|
|
3134
3433
|
threadId: string;
|
|
3135
3434
|
ifIdle?: {
|
|
@@ -3226,11 +3525,288 @@ export type PostAgentsAgentIdSignals_Body = {
|
|
|
3226
3525
|
} | undefined;
|
|
3227
3526
|
[x: string]: unknown;
|
|
3228
3527
|
} | undefined;
|
|
3528
|
+
attributes?: {
|
|
3529
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
3530
|
+
} | undefined;
|
|
3531
|
+
} | undefined;
|
|
3532
|
+
message: (string | ({
|
|
3533
|
+
type: 'text';
|
|
3534
|
+
text: string;
|
|
3535
|
+
providerOptions?: {
|
|
3536
|
+
[key: string]: {
|
|
3537
|
+
[key: string]: PostAgentsAgentIdQueueMessage_Body_Auxiliary_3;
|
|
3538
|
+
};
|
|
3539
|
+
} | undefined;
|
|
3540
|
+
} | {
|
|
3541
|
+
type: 'file';
|
|
3542
|
+
data: string;
|
|
3543
|
+
mediaType: string;
|
|
3544
|
+
filename?: string | undefined;
|
|
3545
|
+
providerOptions?: {
|
|
3546
|
+
[key: string]: {
|
|
3547
|
+
[key: string]: PostAgentsAgentIdQueueMessage_Body_Auxiliary_3;
|
|
3548
|
+
};
|
|
3549
|
+
} | undefined;
|
|
3550
|
+
})[]) | {
|
|
3551
|
+
contents: string | ({
|
|
3552
|
+
type: 'text';
|
|
3553
|
+
text: string;
|
|
3554
|
+
providerOptions?: {
|
|
3555
|
+
[key: string]: {
|
|
3556
|
+
[key: string]: PostAgentsAgentIdQueueMessage_Body_Auxiliary_3;
|
|
3557
|
+
};
|
|
3558
|
+
} | undefined;
|
|
3559
|
+
} | {
|
|
3560
|
+
type: 'file';
|
|
3561
|
+
data: string;
|
|
3562
|
+
mediaType: string;
|
|
3563
|
+
filename?: string | undefined;
|
|
3564
|
+
providerOptions?: {
|
|
3565
|
+
[key: string]: {
|
|
3566
|
+
[key: string]: PostAgentsAgentIdQueueMessage_Body_Auxiliary_3;
|
|
3567
|
+
};
|
|
3568
|
+
} | undefined;
|
|
3569
|
+
})[];
|
|
3570
|
+
attributes?: {
|
|
3571
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
3572
|
+
} | undefined;
|
|
3573
|
+
metadata?: {
|
|
3574
|
+
[key: string]: PostAgentsAgentIdQueueMessage_Body_Auxiliary_3;
|
|
3575
|
+
} | undefined;
|
|
3576
|
+
providerOptions?: {
|
|
3577
|
+
[key: string]: {
|
|
3578
|
+
[key: string]: PostAgentsAgentIdQueueMessage_Body_Auxiliary_3;
|
|
3579
|
+
};
|
|
3580
|
+
} | undefined;
|
|
3581
|
+
};
|
|
3582
|
+
};
|
|
3583
|
+
export type PostAgentsAgentIdQueueMessage_Response = {
|
|
3584
|
+
accepted: true;
|
|
3585
|
+
runId: string;
|
|
3586
|
+
signal?: any | undefined;
|
|
3587
|
+
};
|
|
3588
|
+
export type PostAgentsAgentIdQueueMessage_Request = Simplify<(PostAgentsAgentIdQueueMessage_PathParams extends never ? {} : {
|
|
3589
|
+
params: PostAgentsAgentIdQueueMessage_PathParams;
|
|
3590
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
3591
|
+
query?: never;
|
|
3592
|
+
} : {
|
|
3593
|
+
query: never;
|
|
3594
|
+
}) & (PostAgentsAgentIdQueueMessage_Body extends never ? {} : {} extends PostAgentsAgentIdQueueMessage_Body ? {
|
|
3595
|
+
body?: PostAgentsAgentIdQueueMessage_Body;
|
|
3596
|
+
} : {
|
|
3597
|
+
body: PostAgentsAgentIdQueueMessage_Body;
|
|
3598
|
+
})>;
|
|
3599
|
+
export interface PostAgentsAgentIdQueueMessage_RouteContract {
|
|
3600
|
+
pathParams: PostAgentsAgentIdQueueMessage_PathParams;
|
|
3601
|
+
queryParams: never;
|
|
3602
|
+
body: PostAgentsAgentIdQueueMessage_Body;
|
|
3603
|
+
request: PostAgentsAgentIdQueueMessage_Request;
|
|
3604
|
+
response: PostAgentsAgentIdQueueMessage_Response;
|
|
3605
|
+
responseType: 'json';
|
|
3606
|
+
}
|
|
3607
|
+
export type PostAgentsAgentIdSignals_PathParams = {
|
|
3608
|
+
/** Unique identifier for the agent */
|
|
3609
|
+
agentId: string;
|
|
3610
|
+
};
|
|
3611
|
+
type PostAgentsAgentIdSignals_Body_Auxiliary_3 = string | number | boolean | null | PostAgentsAgentIdSignals_Body_Auxiliary_3[] | {
|
|
3612
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_3;
|
|
3613
|
+
};
|
|
3614
|
+
export type PostAgentsAgentIdSignals_Body = {
|
|
3615
|
+
ifActive?: {
|
|
3616
|
+
behavior?: ('deliver' | 'persist' | 'discard') | undefined;
|
|
3617
|
+
attributes?: {
|
|
3618
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
3619
|
+
} | undefined;
|
|
3620
|
+
} | undefined;
|
|
3621
|
+
runId: string;
|
|
3622
|
+
resourceId?: string | undefined;
|
|
3623
|
+
threadId?: string | undefined;
|
|
3624
|
+
ifIdle?: undefined | undefined;
|
|
3625
|
+
signal: {
|
|
3626
|
+
id?: string | undefined;
|
|
3627
|
+
createdAt?: (string | Date) | undefined;
|
|
3628
|
+
metadata?: {
|
|
3629
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_3;
|
|
3630
|
+
} | undefined;
|
|
3631
|
+
attributes?: {
|
|
3632
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
3633
|
+
} | undefined;
|
|
3634
|
+
type: 'user' | 'state' | 'reactive' | 'notification' | 'user-message' | 'system-reminder';
|
|
3635
|
+
tagName?: string | undefined;
|
|
3636
|
+
contents: string | ({
|
|
3637
|
+
type: 'text';
|
|
3638
|
+
text: string;
|
|
3639
|
+
providerOptions?: {
|
|
3640
|
+
[key: string]: {
|
|
3641
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_3;
|
|
3642
|
+
};
|
|
3643
|
+
} | undefined;
|
|
3644
|
+
} | {
|
|
3645
|
+
type: 'file';
|
|
3646
|
+
data: string;
|
|
3647
|
+
mediaType: string;
|
|
3648
|
+
filename?: string | undefined;
|
|
3649
|
+
providerOptions?: {
|
|
3650
|
+
[key: string]: {
|
|
3651
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_3;
|
|
3652
|
+
};
|
|
3653
|
+
} | undefined;
|
|
3654
|
+
})[];
|
|
3655
|
+
providerOptions?: {
|
|
3656
|
+
[key: string]: {
|
|
3657
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_3;
|
|
3658
|
+
};
|
|
3659
|
+
} | undefined;
|
|
3660
|
+
};
|
|
3661
|
+
} | {
|
|
3662
|
+
ifActive?: {
|
|
3663
|
+
behavior?: ('deliver' | 'persist' | 'discard') | undefined;
|
|
3664
|
+
attributes?: {
|
|
3665
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
3666
|
+
} | undefined;
|
|
3667
|
+
} | undefined;
|
|
3668
|
+
runId?: undefined | undefined;
|
|
3669
|
+
resourceId: string;
|
|
3670
|
+
threadId: string;
|
|
3671
|
+
ifIdle?: {
|
|
3672
|
+
behavior?: ('wake' | 'persist' | 'discard') | undefined;
|
|
3673
|
+
streamOptions?: {
|
|
3674
|
+
instructions?: (string | string[] | any | any[]) | undefined;
|
|
3675
|
+
system?: (string | string[] | any | any[]) | undefined;
|
|
3676
|
+
context?: any[] | undefined;
|
|
3677
|
+
memory?: {
|
|
3678
|
+
thread: string | {
|
|
3679
|
+
id: string;
|
|
3680
|
+
[x: string]: unknown;
|
|
3681
|
+
};
|
|
3682
|
+
resource: string;
|
|
3683
|
+
options?: {
|
|
3684
|
+
[key: string]: any;
|
|
3685
|
+
} | undefined;
|
|
3686
|
+
readOnly?: boolean | undefined;
|
|
3687
|
+
} | undefined;
|
|
3688
|
+
runId?: string | undefined;
|
|
3689
|
+
savePerStep?: boolean | undefined;
|
|
3690
|
+
requestContext?: {
|
|
3691
|
+
[key: string]: any;
|
|
3692
|
+
} | undefined;
|
|
3693
|
+
versions?: {
|
|
3694
|
+
agents?: {
|
|
3695
|
+
[key: string]: {
|
|
3696
|
+
versionId: string;
|
|
3697
|
+
} | {
|
|
3698
|
+
status: 'draft' | 'published';
|
|
3699
|
+
};
|
|
3700
|
+
} | undefined;
|
|
3701
|
+
defaultStatus?: ('draft' | 'published') | undefined;
|
|
3702
|
+
} | undefined;
|
|
3703
|
+
maxSteps?: number | undefined;
|
|
3704
|
+
stopWhen?: any | undefined;
|
|
3705
|
+
providerOptions?: {
|
|
3706
|
+
anthropic?: {
|
|
3707
|
+
[key: string]: any;
|
|
3708
|
+
} | undefined;
|
|
3709
|
+
google?: {
|
|
3710
|
+
[key: string]: any;
|
|
3711
|
+
} | undefined;
|
|
3712
|
+
openai?: {
|
|
3713
|
+
[key: string]: any;
|
|
3714
|
+
} | undefined;
|
|
3715
|
+
xai?: {
|
|
3716
|
+
[key: string]: any;
|
|
3717
|
+
} | undefined;
|
|
3718
|
+
} | undefined;
|
|
3719
|
+
modelSettings?: any | undefined;
|
|
3720
|
+
activeTools?: string[] | undefined;
|
|
3721
|
+
toolsets?: {
|
|
3722
|
+
[key: string]: any;
|
|
3723
|
+
} | undefined;
|
|
3724
|
+
clientTools?: {
|
|
3725
|
+
[key: string]: any;
|
|
3726
|
+
} | undefined;
|
|
3727
|
+
toolChoice?: (('auto' | 'none' | 'required') | {
|
|
3728
|
+
type: 'tool';
|
|
3729
|
+
toolName: string;
|
|
3730
|
+
}) | undefined;
|
|
3731
|
+
requireToolApproval?: boolean | undefined;
|
|
3732
|
+
scorers?: ({
|
|
3733
|
+
[key: string]: any;
|
|
3734
|
+
} | {
|
|
3735
|
+
[key: string]: {
|
|
3736
|
+
scorer: string;
|
|
3737
|
+
sampling?: any | undefined;
|
|
3738
|
+
};
|
|
3739
|
+
}) | undefined;
|
|
3740
|
+
returnScorerData?: boolean | undefined;
|
|
3741
|
+
tracingOptions?: {
|
|
3742
|
+
metadata?: {
|
|
3743
|
+
[key: string]: unknown;
|
|
3744
|
+
} | undefined;
|
|
3745
|
+
requestContextKeys?: string[] | undefined;
|
|
3746
|
+
traceId?: string | undefined;
|
|
3747
|
+
parentSpanId?: string | undefined;
|
|
3748
|
+
tags?: string[] | undefined;
|
|
3749
|
+
hideInput?: boolean | undefined;
|
|
3750
|
+
hideOutput?: boolean | undefined;
|
|
3751
|
+
} | undefined;
|
|
3752
|
+
output?: any | undefined;
|
|
3753
|
+
structuredOutput?: {
|
|
3754
|
+
schema: {
|
|
3755
|
+
[x: string]: unknown;
|
|
3756
|
+
};
|
|
3757
|
+
model?: (string | any) | undefined;
|
|
3758
|
+
instructions?: string | undefined;
|
|
3759
|
+
jsonPromptInjection?: boolean | undefined;
|
|
3760
|
+
errorStrategy?: ('strict' | 'warn' | 'fallback') | undefined;
|
|
3761
|
+
fallbackValue?: any | undefined;
|
|
3762
|
+
} | undefined;
|
|
3763
|
+
[x: string]: unknown;
|
|
3764
|
+
} | undefined;
|
|
3765
|
+
attributes?: {
|
|
3766
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
3767
|
+
} | undefined;
|
|
3229
3768
|
} | undefined;
|
|
3769
|
+
signal: {
|
|
3770
|
+
id?: string | undefined;
|
|
3771
|
+
createdAt?: (string | Date) | undefined;
|
|
3772
|
+
metadata?: {
|
|
3773
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_3;
|
|
3774
|
+
} | undefined;
|
|
3775
|
+
attributes?: {
|
|
3776
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
3777
|
+
} | undefined;
|
|
3778
|
+
type: 'user' | 'state' | 'reactive' | 'notification' | 'user-message' | 'system-reminder';
|
|
3779
|
+
tagName?: string | undefined;
|
|
3780
|
+
contents: string | ({
|
|
3781
|
+
type: 'text';
|
|
3782
|
+
text: string;
|
|
3783
|
+
providerOptions?: {
|
|
3784
|
+
[key: string]: {
|
|
3785
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_3;
|
|
3786
|
+
};
|
|
3787
|
+
} | undefined;
|
|
3788
|
+
} | {
|
|
3789
|
+
type: 'file';
|
|
3790
|
+
data: string;
|
|
3791
|
+
mediaType: string;
|
|
3792
|
+
filename?: string | undefined;
|
|
3793
|
+
providerOptions?: {
|
|
3794
|
+
[key: string]: {
|
|
3795
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_3;
|
|
3796
|
+
};
|
|
3797
|
+
} | undefined;
|
|
3798
|
+
})[];
|
|
3799
|
+
providerOptions?: {
|
|
3800
|
+
[key: string]: {
|
|
3801
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_3;
|
|
3802
|
+
};
|
|
3803
|
+
} | undefined;
|
|
3804
|
+
};
|
|
3230
3805
|
};
|
|
3231
3806
|
export type PostAgentsAgentIdSignals_Response = {
|
|
3232
3807
|
accepted: true;
|
|
3233
3808
|
runId: string;
|
|
3809
|
+
signal?: any | undefined;
|
|
3234
3810
|
};
|
|
3235
3811
|
export type PostAgentsAgentIdSignals_Request = Simplify<(PostAgentsAgentIdSignals_PathParams extends never ? {} : {
|
|
3236
3812
|
params: PostAgentsAgentIdSignals_PathParams;
|
|
@@ -4910,6 +5486,9 @@ export type GetWorkflows_Response = {
|
|
|
4910
5486
|
};
|
|
4911
5487
|
name?: string | undefined;
|
|
4912
5488
|
description?: string | undefined;
|
|
5489
|
+
metadata?: {
|
|
5490
|
+
[key: string]: unknown;
|
|
5491
|
+
} | undefined;
|
|
4913
5492
|
stepGraph: {
|
|
4914
5493
|
type: 'step' | 'sleep' | 'sleepUntil' | 'waitForEvent' | 'parallel' | 'conditional' | 'loop' | 'foreach';
|
|
4915
5494
|
}[];
|
|
@@ -4978,6 +5557,9 @@ export type GetWorkflowsWorkflowId_Response = {
|
|
|
4978
5557
|
};
|
|
4979
5558
|
name?: string | undefined;
|
|
4980
5559
|
description?: string | undefined;
|
|
5560
|
+
metadata?: {
|
|
5561
|
+
[key: string]: unknown;
|
|
5562
|
+
} | undefined;
|
|
4981
5563
|
stepGraph: {
|
|
4982
5564
|
type: 'step' | 'sleep' | 'sleepUntil' | 'waitForEvent' | 'parallel' | 'conditional' | 'loop' | 'foreach';
|
|
4983
5565
|
}[];
|
|
@@ -5468,6 +6050,56 @@ export interface PostWorkflowsWorkflowIdResumeAsync_RouteContract {
|
|
|
5468
6050
|
response: PostWorkflowsWorkflowIdResumeAsync_Response;
|
|
5469
6051
|
responseType: 'json';
|
|
5470
6052
|
}
|
|
6053
|
+
export type PostWorkflowsWorkflowIdResumeNoWait_PathParams = {
|
|
6054
|
+
/** Unique identifier for the workflow */
|
|
6055
|
+
workflowId: string;
|
|
6056
|
+
};
|
|
6057
|
+
export type PostWorkflowsWorkflowIdResumeNoWait_QueryParams = {
|
|
6058
|
+
/** Unique identifier for the run */
|
|
6059
|
+
runId: string;
|
|
6060
|
+
};
|
|
6061
|
+
export type PostWorkflowsWorkflowIdResumeNoWait_Body = {
|
|
6062
|
+
step?: (string | string[]) | undefined;
|
|
6063
|
+
resumeData?: unknown | undefined;
|
|
6064
|
+
requestContext?: {
|
|
6065
|
+
[key: string]: unknown;
|
|
6066
|
+
} | undefined;
|
|
6067
|
+
tracingOptions?: {
|
|
6068
|
+
metadata?: {
|
|
6069
|
+
[key: string]: unknown;
|
|
6070
|
+
} | undefined;
|
|
6071
|
+
requestContextKeys?: string[] | undefined;
|
|
6072
|
+
traceId?: string | undefined;
|
|
6073
|
+
parentSpanId?: string | undefined;
|
|
6074
|
+
tags?: string[] | undefined;
|
|
6075
|
+
hideInput?: boolean | undefined;
|
|
6076
|
+
hideOutput?: boolean | undefined;
|
|
6077
|
+
} | undefined;
|
|
6078
|
+
perStep?: boolean | undefined;
|
|
6079
|
+
forEachIndex?: number | undefined;
|
|
6080
|
+
};
|
|
6081
|
+
export type PostWorkflowsWorkflowIdResumeNoWait_Response = {
|
|
6082
|
+
runId: string;
|
|
6083
|
+
};
|
|
6084
|
+
export type PostWorkflowsWorkflowIdResumeNoWait_Request = Simplify<(PostWorkflowsWorkflowIdResumeNoWait_PathParams extends never ? {} : {
|
|
6085
|
+
params: PostWorkflowsWorkflowIdResumeNoWait_PathParams;
|
|
6086
|
+
}) & (PostWorkflowsWorkflowIdResumeNoWait_QueryParams extends never ? {} : {} extends PostWorkflowsWorkflowIdResumeNoWait_QueryParams ? {
|
|
6087
|
+
query?: PostWorkflowsWorkflowIdResumeNoWait_QueryParams;
|
|
6088
|
+
} : {
|
|
6089
|
+
query: PostWorkflowsWorkflowIdResumeNoWait_QueryParams;
|
|
6090
|
+
}) & (PostWorkflowsWorkflowIdResumeNoWait_Body extends never ? {} : {} extends PostWorkflowsWorkflowIdResumeNoWait_Body ? {
|
|
6091
|
+
body?: PostWorkflowsWorkflowIdResumeNoWait_Body;
|
|
6092
|
+
} : {
|
|
6093
|
+
body: PostWorkflowsWorkflowIdResumeNoWait_Body;
|
|
6094
|
+
})>;
|
|
6095
|
+
export interface PostWorkflowsWorkflowIdResumeNoWait_RouteContract {
|
|
6096
|
+
pathParams: PostWorkflowsWorkflowIdResumeNoWait_PathParams;
|
|
6097
|
+
queryParams: PostWorkflowsWorkflowIdResumeNoWait_QueryParams;
|
|
6098
|
+
body: PostWorkflowsWorkflowIdResumeNoWait_Body;
|
|
6099
|
+
request: PostWorkflowsWorkflowIdResumeNoWait_Request;
|
|
6100
|
+
response: PostWorkflowsWorkflowIdResumeNoWait_Response;
|
|
6101
|
+
responseType: 'json';
|
|
6102
|
+
}
|
|
5471
6103
|
export type PostWorkflowsWorkflowIdResume_PathParams = {
|
|
5472
6104
|
/** Unique identifier for the workflow */
|
|
5473
6105
|
workflowId: string;
|
|
@@ -13615,6 +14247,68 @@ export type GetStoredAgents_Response = {
|
|
|
13615
14247
|
})[];
|
|
13616
14248
|
} | undefined;
|
|
13617
14249
|
}[]) | undefined;
|
|
14250
|
+
/** Tool provider connections and per-tool config (provider-agnostic). Coexists with the deprecated `integrationTools` field. */
|
|
14251
|
+
toolProviders?: ({
|
|
14252
|
+
[key: string]: {
|
|
14253
|
+
tools: {
|
|
14254
|
+
[key: string]: {
|
|
14255
|
+
toolkit?: string | undefined;
|
|
14256
|
+
description?: string | undefined;
|
|
14257
|
+
};
|
|
14258
|
+
};
|
|
14259
|
+
connections: {
|
|
14260
|
+
[key: string]: {
|
|
14261
|
+
kind: 'author' | 'invoker' | 'platform';
|
|
14262
|
+
toolkit: string;
|
|
14263
|
+
connectionId: string;
|
|
14264
|
+
label?: string | undefined;
|
|
14265
|
+
scope?: ('shared' | 'per-author' | 'caller-supplied') | undefined;
|
|
14266
|
+
}[];
|
|
14267
|
+
};
|
|
14268
|
+
};
|
|
14269
|
+
} | {
|
|
14270
|
+
value: {
|
|
14271
|
+
[key: string]: {
|
|
14272
|
+
tools: {
|
|
14273
|
+
[key: string]: {
|
|
14274
|
+
toolkit?: string | undefined;
|
|
14275
|
+
description?: string | undefined;
|
|
14276
|
+
};
|
|
14277
|
+
};
|
|
14278
|
+
connections: {
|
|
14279
|
+
[key: string]: {
|
|
14280
|
+
kind: 'author' | 'invoker' | 'platform';
|
|
14281
|
+
toolkit: string;
|
|
14282
|
+
connectionId: string;
|
|
14283
|
+
label?: string | undefined;
|
|
14284
|
+
scope?: ('shared' | 'per-author' | 'caller-supplied') | undefined;
|
|
14285
|
+
}[];
|
|
14286
|
+
};
|
|
14287
|
+
};
|
|
14288
|
+
};
|
|
14289
|
+
rules?: {
|
|
14290
|
+
operator: 'AND' | 'OR';
|
|
14291
|
+
conditions: ({
|
|
14292
|
+
field: string;
|
|
14293
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
14294
|
+
value?: unknown | undefined;
|
|
14295
|
+
} | {
|
|
14296
|
+
operator: 'AND' | 'OR';
|
|
14297
|
+
conditions: ({
|
|
14298
|
+
field: string;
|
|
14299
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
14300
|
+
value?: unknown | undefined;
|
|
14301
|
+
} | {
|
|
14302
|
+
operator: 'AND' | 'OR';
|
|
14303
|
+
conditions: {
|
|
14304
|
+
field: string;
|
|
14305
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
14306
|
+
value?: unknown | undefined;
|
|
14307
|
+
}[];
|
|
14308
|
+
})[];
|
|
14309
|
+
})[];
|
|
14310
|
+
} | undefined;
|
|
14311
|
+
}[]) | undefined;
|
|
13618
14312
|
/** Map of stored MCP client IDs to their tool configurations — static or conditional */
|
|
13619
14313
|
mcpClients?: ({
|
|
13620
14314
|
[key: string]: {
|
|
@@ -15748,6 +16442,68 @@ export type GetStoredAgentsStoredAgentId_Response = {
|
|
|
15748
16442
|
})[];
|
|
15749
16443
|
} | undefined;
|
|
15750
16444
|
}[]) | undefined;
|
|
16445
|
+
/** Tool provider connections and per-tool config (provider-agnostic). Coexists with the deprecated `integrationTools` field. */
|
|
16446
|
+
toolProviders?: ({
|
|
16447
|
+
[key: string]: {
|
|
16448
|
+
tools: {
|
|
16449
|
+
[key: string]: {
|
|
16450
|
+
toolkit?: string | undefined;
|
|
16451
|
+
description?: string | undefined;
|
|
16452
|
+
};
|
|
16453
|
+
};
|
|
16454
|
+
connections: {
|
|
16455
|
+
[key: string]: {
|
|
16456
|
+
kind: 'author' | 'invoker' | 'platform';
|
|
16457
|
+
toolkit: string;
|
|
16458
|
+
connectionId: string;
|
|
16459
|
+
label?: string | undefined;
|
|
16460
|
+
scope?: ('shared' | 'per-author' | 'caller-supplied') | undefined;
|
|
16461
|
+
}[];
|
|
16462
|
+
};
|
|
16463
|
+
};
|
|
16464
|
+
} | {
|
|
16465
|
+
value: {
|
|
16466
|
+
[key: string]: {
|
|
16467
|
+
tools: {
|
|
16468
|
+
[key: string]: {
|
|
16469
|
+
toolkit?: string | undefined;
|
|
16470
|
+
description?: string | undefined;
|
|
16471
|
+
};
|
|
16472
|
+
};
|
|
16473
|
+
connections: {
|
|
16474
|
+
[key: string]: {
|
|
16475
|
+
kind: 'author' | 'invoker' | 'platform';
|
|
16476
|
+
toolkit: string;
|
|
16477
|
+
connectionId: string;
|
|
16478
|
+
label?: string | undefined;
|
|
16479
|
+
scope?: ('shared' | 'per-author' | 'caller-supplied') | undefined;
|
|
16480
|
+
}[];
|
|
16481
|
+
};
|
|
16482
|
+
};
|
|
16483
|
+
};
|
|
16484
|
+
rules?: {
|
|
16485
|
+
operator: 'AND' | 'OR';
|
|
16486
|
+
conditions: ({
|
|
16487
|
+
field: string;
|
|
16488
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
16489
|
+
value?: unknown | undefined;
|
|
16490
|
+
} | {
|
|
16491
|
+
operator: 'AND' | 'OR';
|
|
16492
|
+
conditions: ({
|
|
16493
|
+
field: string;
|
|
16494
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
16495
|
+
value?: unknown | undefined;
|
|
16496
|
+
} | {
|
|
16497
|
+
operator: 'AND' | 'OR';
|
|
16498
|
+
conditions: {
|
|
16499
|
+
field: string;
|
|
16500
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
16501
|
+
value?: unknown | undefined;
|
|
16502
|
+
}[];
|
|
16503
|
+
})[];
|
|
16504
|
+
})[];
|
|
16505
|
+
} | undefined;
|
|
16506
|
+
}[]) | undefined;
|
|
15751
16507
|
/** Map of stored MCP client IDs to their tool configurations — static or conditional */
|
|
15752
16508
|
mcpClients?: ({
|
|
15753
16509
|
[key: string]: {
|
|
@@ -17805,6 +18561,68 @@ export type PostStoredAgents_Body = {
|
|
|
17805
18561
|
})[];
|
|
17806
18562
|
} | undefined;
|
|
17807
18563
|
}[]) | undefined;
|
|
18564
|
+
/** Tool provider connections and per-tool config (provider-agnostic). Coexists with the deprecated `integrationTools` field. */
|
|
18565
|
+
toolProviders?: ({
|
|
18566
|
+
[key: string]: {
|
|
18567
|
+
tools: {
|
|
18568
|
+
[key: string]: {
|
|
18569
|
+
toolkit?: string | undefined;
|
|
18570
|
+
description?: string | undefined;
|
|
18571
|
+
};
|
|
18572
|
+
};
|
|
18573
|
+
connections: {
|
|
18574
|
+
[key: string]: {
|
|
18575
|
+
kind: 'author' | 'invoker' | 'platform';
|
|
18576
|
+
toolkit: string;
|
|
18577
|
+
connectionId: string;
|
|
18578
|
+
label?: string | undefined;
|
|
18579
|
+
scope?: ('shared' | 'per-author' | 'caller-supplied') | undefined;
|
|
18580
|
+
}[];
|
|
18581
|
+
};
|
|
18582
|
+
};
|
|
18583
|
+
} | {
|
|
18584
|
+
value: {
|
|
18585
|
+
[key: string]: {
|
|
18586
|
+
tools: {
|
|
18587
|
+
[key: string]: {
|
|
18588
|
+
toolkit?: string | undefined;
|
|
18589
|
+
description?: string | undefined;
|
|
18590
|
+
};
|
|
18591
|
+
};
|
|
18592
|
+
connections: {
|
|
18593
|
+
[key: string]: {
|
|
18594
|
+
kind: 'author' | 'invoker' | 'platform';
|
|
18595
|
+
toolkit: string;
|
|
18596
|
+
connectionId: string;
|
|
18597
|
+
label?: string | undefined;
|
|
18598
|
+
scope?: ('shared' | 'per-author' | 'caller-supplied') | undefined;
|
|
18599
|
+
}[];
|
|
18600
|
+
};
|
|
18601
|
+
};
|
|
18602
|
+
};
|
|
18603
|
+
rules?: {
|
|
18604
|
+
operator: 'AND' | 'OR';
|
|
18605
|
+
conditions: ({
|
|
18606
|
+
field: string;
|
|
18607
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
18608
|
+
value?: unknown | undefined;
|
|
18609
|
+
} | {
|
|
18610
|
+
operator: 'AND' | 'OR';
|
|
18611
|
+
conditions: ({
|
|
18612
|
+
field: string;
|
|
18613
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
18614
|
+
value?: unknown | undefined;
|
|
18615
|
+
} | {
|
|
18616
|
+
operator: 'AND' | 'OR';
|
|
18617
|
+
conditions: {
|
|
18618
|
+
field: string;
|
|
18619
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
18620
|
+
value?: unknown | undefined;
|
|
18621
|
+
}[];
|
|
18622
|
+
})[];
|
|
18623
|
+
})[];
|
|
18624
|
+
} | undefined;
|
|
18625
|
+
}[]) | undefined;
|
|
17808
18626
|
/** Map of stored MCP client IDs to their tool configurations — static or conditional */
|
|
17809
18627
|
mcpClients?: ({
|
|
17810
18628
|
[key: string]: {
|
|
@@ -19848,6 +20666,68 @@ export type PostStoredAgents_Response = {
|
|
|
19848
20666
|
})[];
|
|
19849
20667
|
} | undefined;
|
|
19850
20668
|
}[]) | undefined;
|
|
20669
|
+
/** Tool provider connections and per-tool config (provider-agnostic). Coexists with the deprecated `integrationTools` field. */
|
|
20670
|
+
toolProviders?: ({
|
|
20671
|
+
[key: string]: {
|
|
20672
|
+
tools: {
|
|
20673
|
+
[key: string]: {
|
|
20674
|
+
toolkit?: string | undefined;
|
|
20675
|
+
description?: string | undefined;
|
|
20676
|
+
};
|
|
20677
|
+
};
|
|
20678
|
+
connections: {
|
|
20679
|
+
[key: string]: {
|
|
20680
|
+
kind: 'author' | 'invoker' | 'platform';
|
|
20681
|
+
toolkit: string;
|
|
20682
|
+
connectionId: string;
|
|
20683
|
+
label?: string | undefined;
|
|
20684
|
+
scope?: ('shared' | 'per-author' | 'caller-supplied') | undefined;
|
|
20685
|
+
}[];
|
|
20686
|
+
};
|
|
20687
|
+
};
|
|
20688
|
+
} | {
|
|
20689
|
+
value: {
|
|
20690
|
+
[key: string]: {
|
|
20691
|
+
tools: {
|
|
20692
|
+
[key: string]: {
|
|
20693
|
+
toolkit?: string | undefined;
|
|
20694
|
+
description?: string | undefined;
|
|
20695
|
+
};
|
|
20696
|
+
};
|
|
20697
|
+
connections: {
|
|
20698
|
+
[key: string]: {
|
|
20699
|
+
kind: 'author' | 'invoker' | 'platform';
|
|
20700
|
+
toolkit: string;
|
|
20701
|
+
connectionId: string;
|
|
20702
|
+
label?: string | undefined;
|
|
20703
|
+
scope?: ('shared' | 'per-author' | 'caller-supplied') | undefined;
|
|
20704
|
+
}[];
|
|
20705
|
+
};
|
|
20706
|
+
};
|
|
20707
|
+
};
|
|
20708
|
+
rules?: {
|
|
20709
|
+
operator: 'AND' | 'OR';
|
|
20710
|
+
conditions: ({
|
|
20711
|
+
field: string;
|
|
20712
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
20713
|
+
value?: unknown | undefined;
|
|
20714
|
+
} | {
|
|
20715
|
+
operator: 'AND' | 'OR';
|
|
20716
|
+
conditions: ({
|
|
20717
|
+
field: string;
|
|
20718
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
20719
|
+
value?: unknown | undefined;
|
|
20720
|
+
} | {
|
|
20721
|
+
operator: 'AND' | 'OR';
|
|
20722
|
+
conditions: {
|
|
20723
|
+
field: string;
|
|
20724
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
20725
|
+
value?: unknown | undefined;
|
|
20726
|
+
}[];
|
|
20727
|
+
})[];
|
|
20728
|
+
})[];
|
|
20729
|
+
} | undefined;
|
|
20730
|
+
}[]) | undefined;
|
|
19851
20731
|
/** Map of stored MCP client IDs to their tool configurations — static or conditional */
|
|
19852
20732
|
mcpClients?: ({
|
|
19853
20733
|
[key: string]: {
|
|
@@ -21895,6 +22775,67 @@ export type PatchStoredAgentsStoredAgentId_Body = {
|
|
|
21895
22775
|
})[];
|
|
21896
22776
|
} | undefined;
|
|
21897
22777
|
}[]) | undefined) | undefined;
|
|
22778
|
+
toolProviders?: (({
|
|
22779
|
+
[key: string]: {
|
|
22780
|
+
tools: {
|
|
22781
|
+
[key: string]: {
|
|
22782
|
+
toolkit?: string | undefined;
|
|
22783
|
+
description?: string | undefined;
|
|
22784
|
+
};
|
|
22785
|
+
};
|
|
22786
|
+
connections: {
|
|
22787
|
+
[key: string]: {
|
|
22788
|
+
kind: 'author' | 'invoker' | 'platform';
|
|
22789
|
+
toolkit: string;
|
|
22790
|
+
connectionId: string;
|
|
22791
|
+
label?: string | undefined;
|
|
22792
|
+
scope?: ('shared' | 'per-author' | 'caller-supplied') | undefined;
|
|
22793
|
+
}[];
|
|
22794
|
+
};
|
|
22795
|
+
};
|
|
22796
|
+
} | {
|
|
22797
|
+
value: {
|
|
22798
|
+
[key: string]: {
|
|
22799
|
+
tools: {
|
|
22800
|
+
[key: string]: {
|
|
22801
|
+
toolkit?: string | undefined;
|
|
22802
|
+
description?: string | undefined;
|
|
22803
|
+
};
|
|
22804
|
+
};
|
|
22805
|
+
connections: {
|
|
22806
|
+
[key: string]: {
|
|
22807
|
+
kind: 'author' | 'invoker' | 'platform';
|
|
22808
|
+
toolkit: string;
|
|
22809
|
+
connectionId: string;
|
|
22810
|
+
label?: string | undefined;
|
|
22811
|
+
scope?: ('shared' | 'per-author' | 'caller-supplied') | undefined;
|
|
22812
|
+
}[];
|
|
22813
|
+
};
|
|
22814
|
+
};
|
|
22815
|
+
};
|
|
22816
|
+
rules?: {
|
|
22817
|
+
operator: 'AND' | 'OR';
|
|
22818
|
+
conditions: ({
|
|
22819
|
+
field: string;
|
|
22820
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
22821
|
+
value?: unknown | undefined;
|
|
22822
|
+
} | {
|
|
22823
|
+
operator: 'AND' | 'OR';
|
|
22824
|
+
conditions: ({
|
|
22825
|
+
field: string;
|
|
22826
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
22827
|
+
value?: unknown | undefined;
|
|
22828
|
+
} | {
|
|
22829
|
+
operator: 'AND' | 'OR';
|
|
22830
|
+
conditions: {
|
|
22831
|
+
field: string;
|
|
22832
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
22833
|
+
value?: unknown | undefined;
|
|
22834
|
+
}[];
|
|
22835
|
+
})[];
|
|
22836
|
+
})[];
|
|
22837
|
+
} | undefined;
|
|
22838
|
+
}[]) | undefined) | undefined;
|
|
21898
22839
|
mcpClients?: (({
|
|
21899
22840
|
[key: string]: {
|
|
21900
22841
|
tools?: {
|
|
@@ -23856,67 +24797,129 @@ export type PatchStoredAgentsStoredAgentId_Response = {
|
|
|
23856
24797
|
})[];
|
|
23857
24798
|
} | undefined;
|
|
23858
24799
|
}[]) | undefined;
|
|
23859
|
-
/** Map of tool provider IDs to their tool configurations — static or conditional */
|
|
23860
|
-
integrationTools?: ({
|
|
24800
|
+
/** Map of tool provider IDs to their tool configurations — static or conditional */
|
|
24801
|
+
integrationTools?: ({
|
|
24802
|
+
[key: string]: {
|
|
24803
|
+
tools?: {
|
|
24804
|
+
[key: string]: {
|
|
24805
|
+
description?: string | undefined;
|
|
24806
|
+
rules?: {
|
|
24807
|
+
operator: 'AND' | 'OR';
|
|
24808
|
+
conditions: ({
|
|
24809
|
+
field: string;
|
|
24810
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
24811
|
+
value?: unknown | undefined;
|
|
24812
|
+
} | {
|
|
24813
|
+
operator: 'AND' | 'OR';
|
|
24814
|
+
conditions: ({
|
|
24815
|
+
field: string;
|
|
24816
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
24817
|
+
value?: unknown | undefined;
|
|
24818
|
+
} | {
|
|
24819
|
+
operator: 'AND' | 'OR';
|
|
24820
|
+
conditions: {
|
|
24821
|
+
field: string;
|
|
24822
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
24823
|
+
value?: unknown | undefined;
|
|
24824
|
+
}[];
|
|
24825
|
+
})[];
|
|
24826
|
+
})[];
|
|
24827
|
+
} | undefined;
|
|
24828
|
+
};
|
|
24829
|
+
} | undefined;
|
|
24830
|
+
};
|
|
24831
|
+
} | {
|
|
24832
|
+
value: {
|
|
24833
|
+
[key: string]: {
|
|
24834
|
+
tools?: {
|
|
24835
|
+
[key: string]: {
|
|
24836
|
+
description?: string | undefined;
|
|
24837
|
+
rules?: {
|
|
24838
|
+
operator: 'AND' | 'OR';
|
|
24839
|
+
conditions: ({
|
|
24840
|
+
field: string;
|
|
24841
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
24842
|
+
value?: unknown | undefined;
|
|
24843
|
+
} | {
|
|
24844
|
+
operator: 'AND' | 'OR';
|
|
24845
|
+
conditions: ({
|
|
24846
|
+
field: string;
|
|
24847
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
24848
|
+
value?: unknown | undefined;
|
|
24849
|
+
} | {
|
|
24850
|
+
operator: 'AND' | 'OR';
|
|
24851
|
+
conditions: {
|
|
24852
|
+
field: string;
|
|
24853
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
24854
|
+
value?: unknown | undefined;
|
|
24855
|
+
}[];
|
|
24856
|
+
})[];
|
|
24857
|
+
})[];
|
|
24858
|
+
} | undefined;
|
|
24859
|
+
};
|
|
24860
|
+
} | undefined;
|
|
24861
|
+
};
|
|
24862
|
+
};
|
|
24863
|
+
rules?: {
|
|
24864
|
+
operator: 'AND' | 'OR';
|
|
24865
|
+
conditions: ({
|
|
24866
|
+
field: string;
|
|
24867
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
24868
|
+
value?: unknown | undefined;
|
|
24869
|
+
} | {
|
|
24870
|
+
operator: 'AND' | 'OR';
|
|
24871
|
+
conditions: ({
|
|
24872
|
+
field: string;
|
|
24873
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
24874
|
+
value?: unknown | undefined;
|
|
24875
|
+
} | {
|
|
24876
|
+
operator: 'AND' | 'OR';
|
|
24877
|
+
conditions: {
|
|
24878
|
+
field: string;
|
|
24879
|
+
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
24880
|
+
value?: unknown | undefined;
|
|
24881
|
+
}[];
|
|
24882
|
+
})[];
|
|
24883
|
+
})[];
|
|
24884
|
+
} | undefined;
|
|
24885
|
+
}[]) | undefined;
|
|
24886
|
+
/** Tool provider connections and per-tool config (provider-agnostic). Coexists with the deprecated `integrationTools` field. */
|
|
24887
|
+
toolProviders?: ({
|
|
23861
24888
|
[key: string]: {
|
|
23862
|
-
tools
|
|
24889
|
+
tools: {
|
|
23863
24890
|
[key: string]: {
|
|
24891
|
+
toolkit?: string | undefined;
|
|
23864
24892
|
description?: string | undefined;
|
|
23865
|
-
rules?: {
|
|
23866
|
-
operator: 'AND' | 'OR';
|
|
23867
|
-
conditions: ({
|
|
23868
|
-
field: string;
|
|
23869
|
-
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
23870
|
-
value?: unknown | undefined;
|
|
23871
|
-
} | {
|
|
23872
|
-
operator: 'AND' | 'OR';
|
|
23873
|
-
conditions: ({
|
|
23874
|
-
field: string;
|
|
23875
|
-
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
23876
|
-
value?: unknown | undefined;
|
|
23877
|
-
} | {
|
|
23878
|
-
operator: 'AND' | 'OR';
|
|
23879
|
-
conditions: {
|
|
23880
|
-
field: string;
|
|
23881
|
-
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
23882
|
-
value?: unknown | undefined;
|
|
23883
|
-
}[];
|
|
23884
|
-
})[];
|
|
23885
|
-
})[];
|
|
23886
|
-
} | undefined;
|
|
23887
24893
|
};
|
|
23888
|
-
}
|
|
24894
|
+
};
|
|
24895
|
+
connections: {
|
|
24896
|
+
[key: string]: {
|
|
24897
|
+
kind: 'author' | 'invoker' | 'platform';
|
|
24898
|
+
toolkit: string;
|
|
24899
|
+
connectionId: string;
|
|
24900
|
+
label?: string | undefined;
|
|
24901
|
+
scope?: ('shared' | 'per-author' | 'caller-supplied') | undefined;
|
|
24902
|
+
}[];
|
|
24903
|
+
};
|
|
23889
24904
|
};
|
|
23890
24905
|
} | {
|
|
23891
24906
|
value: {
|
|
23892
24907
|
[key: string]: {
|
|
23893
|
-
tools
|
|
24908
|
+
tools: {
|
|
23894
24909
|
[key: string]: {
|
|
24910
|
+
toolkit?: string | undefined;
|
|
23895
24911
|
description?: string | undefined;
|
|
23896
|
-
rules?: {
|
|
23897
|
-
operator: 'AND' | 'OR';
|
|
23898
|
-
conditions: ({
|
|
23899
|
-
field: string;
|
|
23900
|
-
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
23901
|
-
value?: unknown | undefined;
|
|
23902
|
-
} | {
|
|
23903
|
-
operator: 'AND' | 'OR';
|
|
23904
|
-
conditions: ({
|
|
23905
|
-
field: string;
|
|
23906
|
-
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
23907
|
-
value?: unknown | undefined;
|
|
23908
|
-
} | {
|
|
23909
|
-
operator: 'AND' | 'OR';
|
|
23910
|
-
conditions: {
|
|
23911
|
-
field: string;
|
|
23912
|
-
operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
23913
|
-
value?: unknown | undefined;
|
|
23914
|
-
}[];
|
|
23915
|
-
})[];
|
|
23916
|
-
})[];
|
|
23917
|
-
} | undefined;
|
|
23918
24912
|
};
|
|
23919
|
-
}
|
|
24913
|
+
};
|
|
24914
|
+
connections: {
|
|
24915
|
+
[key: string]: {
|
|
24916
|
+
kind: 'author' | 'invoker' | 'platform';
|
|
24917
|
+
toolkit: string;
|
|
24918
|
+
connectionId: string;
|
|
24919
|
+
label?: string | undefined;
|
|
24920
|
+
scope?: ('shared' | 'per-author' | 'caller-supplied') | undefined;
|
|
24921
|
+
}[];
|
|
24922
|
+
};
|
|
23920
24923
|
};
|
|
23921
24924
|
};
|
|
23922
24925
|
rules?: {
|
|
@@ -39791,6 +40794,13 @@ export type GetToolProviders_Response = {
|
|
|
39791
40794
|
id: string;
|
|
39792
40795
|
name: string;
|
|
39793
40796
|
description?: string | undefined;
|
|
40797
|
+
displayName?: string | undefined;
|
|
40798
|
+
capabilities?: {
|
|
40799
|
+
multipleConnectionsPerToolkit: boolean;
|
|
40800
|
+
batchConnectionStatus: boolean;
|
|
40801
|
+
reauthorizeReusesConnectionId: boolean;
|
|
40802
|
+
supportsRevoke?: boolean | undefined;
|
|
40803
|
+
} | undefined;
|
|
39794
40804
|
}[];
|
|
39795
40805
|
};
|
|
39796
40806
|
export type GetToolProviders_Request = Simplify<(never extends never ? {} : {
|
|
@@ -39858,7 +40868,7 @@ export type GetToolProvidersProviderIdTools_QueryParams = {
|
|
|
39858
40868
|
toolkit?: string | undefined;
|
|
39859
40869
|
/** Search tools by name or description */
|
|
39860
40870
|
search?: string | undefined;
|
|
39861
|
-
/** Page number for pagination */
|
|
40871
|
+
/** Page number for pagination (1-indexed) */
|
|
39862
40872
|
page?: number | undefined;
|
|
39863
40873
|
/** Number of items per page */
|
|
39864
40874
|
perPage?: number | undefined;
|
|
@@ -39924,6 +40934,306 @@ export interface GetToolProvidersProviderIdToolsToolSlugSchema_RouteContract {
|
|
|
39924
40934
|
response: GetToolProvidersProviderIdToolsToolSlugSchema_Response;
|
|
39925
40935
|
responseType: 'json';
|
|
39926
40936
|
}
|
|
40937
|
+
export type PostToolProvidersProviderIdAuthorize_PathParams = {
|
|
40938
|
+
/** Unique identifier for the tool provider */
|
|
40939
|
+
providerId: string;
|
|
40940
|
+
};
|
|
40941
|
+
export type PostToolProvidersProviderIdAuthorize_Body = {
|
|
40942
|
+
/** Toolkit slug being authorized */
|
|
40943
|
+
toolkit: string;
|
|
40944
|
+
/** Existing or newly-minted connection bucket id */
|
|
40945
|
+
connectionId: string;
|
|
40946
|
+
/** Optional tool slug for tool-scoped authorization */
|
|
40947
|
+
toolName?: string | undefined;
|
|
40948
|
+
/** Provider-specific user-supplied connection fields (e.g. subdomain) */
|
|
40949
|
+
config?: {
|
|
40950
|
+
[key: string]: unknown;
|
|
40951
|
+
} | undefined;
|
|
40952
|
+
/** Optional human label to persist on the resulting tool_provider_connections row. Must match the stored connection label rules (≤ 32 chars, [A-Za-z0-9 _-]+). */
|
|
40953
|
+
label?: (string | null) | undefined;
|
|
40954
|
+
/** Identity bucket. "shared" pins under SHARED_BUCKET_ID. "caller-supplied" pins under the request-context resourceId (returns 400 when missing). Defaults to "per-author". */
|
|
40955
|
+
scope?: ('shared' | 'per-author' | 'caller-supplied') | undefined;
|
|
40956
|
+
};
|
|
40957
|
+
export type PostToolProvidersProviderIdAuthorize_Response = {
|
|
40958
|
+
url: string;
|
|
40959
|
+
authId: string;
|
|
40960
|
+
};
|
|
40961
|
+
export type PostToolProvidersProviderIdAuthorize_Request = Simplify<(PostToolProvidersProviderIdAuthorize_PathParams extends never ? {} : {
|
|
40962
|
+
params: PostToolProvidersProviderIdAuthorize_PathParams;
|
|
40963
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
40964
|
+
query?: never;
|
|
40965
|
+
} : {
|
|
40966
|
+
query: never;
|
|
40967
|
+
}) & (PostToolProvidersProviderIdAuthorize_Body extends never ? {} : {} extends PostToolProvidersProviderIdAuthorize_Body ? {
|
|
40968
|
+
body?: PostToolProvidersProviderIdAuthorize_Body;
|
|
40969
|
+
} : {
|
|
40970
|
+
body: PostToolProvidersProviderIdAuthorize_Body;
|
|
40971
|
+
})>;
|
|
40972
|
+
export interface PostToolProvidersProviderIdAuthorize_RouteContract {
|
|
40973
|
+
pathParams: PostToolProvidersProviderIdAuthorize_PathParams;
|
|
40974
|
+
queryParams: never;
|
|
40975
|
+
body: PostToolProvidersProviderIdAuthorize_Body;
|
|
40976
|
+
request: PostToolProvidersProviderIdAuthorize_Request;
|
|
40977
|
+
response: PostToolProvidersProviderIdAuthorize_Response;
|
|
40978
|
+
responseType: 'json';
|
|
40979
|
+
}
|
|
40980
|
+
export type GetToolProvidersProviderIdAuthStatusAuthId_PathParams = {
|
|
40981
|
+
/** Unique identifier for the tool provider */
|
|
40982
|
+
providerId: string;
|
|
40983
|
+
/** Opaque auth handle returned by authorize */
|
|
40984
|
+
authId: string;
|
|
40985
|
+
};
|
|
40986
|
+
export type GetToolProvidersProviderIdAuthStatusAuthId_Response = {
|
|
40987
|
+
status: 'pending' | 'completed' | 'failed';
|
|
40988
|
+
};
|
|
40989
|
+
export type GetToolProvidersProviderIdAuthStatusAuthId_Request = Simplify<(GetToolProvidersProviderIdAuthStatusAuthId_PathParams extends never ? {} : {
|
|
40990
|
+
params: GetToolProvidersProviderIdAuthStatusAuthId_PathParams;
|
|
40991
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
40992
|
+
query?: never;
|
|
40993
|
+
} : {
|
|
40994
|
+
query: never;
|
|
40995
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
40996
|
+
body?: never;
|
|
40997
|
+
} : {
|
|
40998
|
+
body: never;
|
|
40999
|
+
})>;
|
|
41000
|
+
export interface GetToolProvidersProviderIdAuthStatusAuthId_RouteContract {
|
|
41001
|
+
pathParams: GetToolProvidersProviderIdAuthStatusAuthId_PathParams;
|
|
41002
|
+
queryParams: never;
|
|
41003
|
+
body: never;
|
|
41004
|
+
request: GetToolProvidersProviderIdAuthStatusAuthId_Request;
|
|
41005
|
+
response: GetToolProvidersProviderIdAuthStatusAuthId_Response;
|
|
41006
|
+
responseType: 'json';
|
|
41007
|
+
}
|
|
41008
|
+
export type PostToolProvidersProviderIdConnectionStatus_PathParams = {
|
|
41009
|
+
/** Unique identifier for the tool provider */
|
|
41010
|
+
providerId: string;
|
|
41011
|
+
};
|
|
41012
|
+
export type PostToolProvidersProviderIdConnectionStatus_Body = {
|
|
41013
|
+
/** Connection tuples to batch-check */
|
|
41014
|
+
items: {
|
|
41015
|
+
connectionId: string;
|
|
41016
|
+
toolkit: string;
|
|
41017
|
+
}[];
|
|
41018
|
+
};
|
|
41019
|
+
export type PostToolProvidersProviderIdConnectionStatus_Response = {
|
|
41020
|
+
items: {
|
|
41021
|
+
[key: string]: {
|
|
41022
|
+
connected: boolean;
|
|
41023
|
+
};
|
|
41024
|
+
};
|
|
41025
|
+
};
|
|
41026
|
+
export type PostToolProvidersProviderIdConnectionStatus_Request = Simplify<(PostToolProvidersProviderIdConnectionStatus_PathParams extends never ? {} : {
|
|
41027
|
+
params: PostToolProvidersProviderIdConnectionStatus_PathParams;
|
|
41028
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
41029
|
+
query?: never;
|
|
41030
|
+
} : {
|
|
41031
|
+
query: never;
|
|
41032
|
+
}) & (PostToolProvidersProviderIdConnectionStatus_Body extends never ? {} : {} extends PostToolProvidersProviderIdConnectionStatus_Body ? {
|
|
41033
|
+
body?: PostToolProvidersProviderIdConnectionStatus_Body;
|
|
41034
|
+
} : {
|
|
41035
|
+
body: PostToolProvidersProviderIdConnectionStatus_Body;
|
|
41036
|
+
})>;
|
|
41037
|
+
export interface PostToolProvidersProviderIdConnectionStatus_RouteContract {
|
|
41038
|
+
pathParams: PostToolProvidersProviderIdConnectionStatus_PathParams;
|
|
41039
|
+
queryParams: never;
|
|
41040
|
+
body: PostToolProvidersProviderIdConnectionStatus_Body;
|
|
41041
|
+
request: PostToolProvidersProviderIdConnectionStatus_Request;
|
|
41042
|
+
response: PostToolProvidersProviderIdConnectionStatus_Response;
|
|
41043
|
+
responseType: 'json';
|
|
41044
|
+
}
|
|
41045
|
+
export type GetToolProvidersProviderIdConnections_PathParams = {
|
|
41046
|
+
/** Unique identifier for the tool provider */
|
|
41047
|
+
providerId: string;
|
|
41048
|
+
};
|
|
41049
|
+
export type GetToolProvidersProviderIdConnections_QueryParams = {
|
|
41050
|
+
/** Toolkit slug whose connections to list */
|
|
41051
|
+
toolkit: string;
|
|
41052
|
+
/** Admin-only: restrict listing to a specific author. Silently ignored for non-admin callers. */
|
|
41053
|
+
authorId?: string | undefined;
|
|
41054
|
+
/** Filter results by scope. Omit to include shared + per-author pins for the caller. */
|
|
41055
|
+
scope?: ('shared' | 'per-author' | 'caller-supplied') | undefined;
|
|
41056
|
+
/** Page number for pagination (1-indexed) */
|
|
41057
|
+
page?: number | undefined;
|
|
41058
|
+
/** Number of items per page (default 50, max 200) */
|
|
41059
|
+
perPage?: number | undefined;
|
|
41060
|
+
};
|
|
41061
|
+
export type GetToolProvidersProviderIdConnections_Response = {
|
|
41062
|
+
items: {
|
|
41063
|
+
connectionId: string;
|
|
41064
|
+
status: 'active' | 'pending' | 'failed' | 'inactive';
|
|
41065
|
+
createdAt?: string | undefined;
|
|
41066
|
+
/** Persisted display label from tool_provider_connections, if any */
|
|
41067
|
+
label?: (string | null) | undefined;
|
|
41068
|
+
/** Owner of the connection (when known) */
|
|
41069
|
+
authorId?: string | undefined;
|
|
41070
|
+
/** Persisted scope from tool_provider_connections. Missing for rows that predate the scope field. */
|
|
41071
|
+
scope?: ('shared' | 'per-author' | 'caller-supplied') | undefined;
|
|
41072
|
+
}[];
|
|
41073
|
+
pagination?: {
|
|
41074
|
+
total?: number | undefined;
|
|
41075
|
+
page?: number | undefined;
|
|
41076
|
+
perPage?: number | undefined;
|
|
41077
|
+
hasMore: boolean;
|
|
41078
|
+
} | undefined;
|
|
41079
|
+
};
|
|
41080
|
+
export type GetToolProvidersProviderIdConnections_Request = Simplify<(GetToolProvidersProviderIdConnections_PathParams extends never ? {} : {
|
|
41081
|
+
params: GetToolProvidersProviderIdConnections_PathParams;
|
|
41082
|
+
}) & (GetToolProvidersProviderIdConnections_QueryParams extends never ? {} : {} extends GetToolProvidersProviderIdConnections_QueryParams ? {
|
|
41083
|
+
query?: GetToolProvidersProviderIdConnections_QueryParams;
|
|
41084
|
+
} : {
|
|
41085
|
+
query: GetToolProvidersProviderIdConnections_QueryParams;
|
|
41086
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
41087
|
+
body?: never;
|
|
41088
|
+
} : {
|
|
41089
|
+
body: never;
|
|
41090
|
+
})>;
|
|
41091
|
+
export interface GetToolProvidersProviderIdConnections_RouteContract {
|
|
41092
|
+
pathParams: GetToolProvidersProviderIdConnections_PathParams;
|
|
41093
|
+
queryParams: GetToolProvidersProviderIdConnections_QueryParams;
|
|
41094
|
+
body: never;
|
|
41095
|
+
request: GetToolProvidersProviderIdConnections_Request;
|
|
41096
|
+
response: GetToolProvidersProviderIdConnections_Response;
|
|
41097
|
+
responseType: 'json';
|
|
41098
|
+
}
|
|
41099
|
+
export type GetToolProvidersProviderIdConnectionFields_PathParams = {
|
|
41100
|
+
/** Unique identifier for the tool provider */
|
|
41101
|
+
providerId: string;
|
|
41102
|
+
};
|
|
41103
|
+
export type GetToolProvidersProviderIdConnectionFields_QueryParams = {
|
|
41104
|
+
/** Toolkit slug whose connection field schema to list */
|
|
41105
|
+
toolkit: string;
|
|
41106
|
+
};
|
|
41107
|
+
export type GetToolProvidersProviderIdConnectionFields_Response = {
|
|
41108
|
+
fields: {
|
|
41109
|
+
name: string;
|
|
41110
|
+
displayName?: string | undefined;
|
|
41111
|
+
description?: string | undefined;
|
|
41112
|
+
type: 'string' | 'number' | 'boolean';
|
|
41113
|
+
required: boolean;
|
|
41114
|
+
default?: unknown | undefined;
|
|
41115
|
+
}[];
|
|
41116
|
+
};
|
|
41117
|
+
export type GetToolProvidersProviderIdConnectionFields_Request = Simplify<(GetToolProvidersProviderIdConnectionFields_PathParams extends never ? {} : {
|
|
41118
|
+
params: GetToolProvidersProviderIdConnectionFields_PathParams;
|
|
41119
|
+
}) & (GetToolProvidersProviderIdConnectionFields_QueryParams extends never ? {} : {} extends GetToolProvidersProviderIdConnectionFields_QueryParams ? {
|
|
41120
|
+
query?: GetToolProvidersProviderIdConnectionFields_QueryParams;
|
|
41121
|
+
} : {
|
|
41122
|
+
query: GetToolProvidersProviderIdConnectionFields_QueryParams;
|
|
41123
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
41124
|
+
body?: never;
|
|
41125
|
+
} : {
|
|
41126
|
+
body: never;
|
|
41127
|
+
})>;
|
|
41128
|
+
export interface GetToolProvidersProviderIdConnectionFields_RouteContract {
|
|
41129
|
+
pathParams: GetToolProvidersProviderIdConnectionFields_PathParams;
|
|
41130
|
+
queryParams: GetToolProvidersProviderIdConnectionFields_QueryParams;
|
|
41131
|
+
body: never;
|
|
41132
|
+
request: GetToolProvidersProviderIdConnectionFields_Request;
|
|
41133
|
+
response: GetToolProvidersProviderIdConnectionFields_Response;
|
|
41134
|
+
responseType: 'json';
|
|
41135
|
+
}
|
|
41136
|
+
export type DeleteToolProvidersProviderIdConnectionsConnectionId_PathParams = {
|
|
41137
|
+
/** Unique identifier for the tool provider */
|
|
41138
|
+
providerId: string;
|
|
41139
|
+
/** Adapter-native connection id (e.g. Composio ca_...) */
|
|
41140
|
+
connectionId: string;
|
|
41141
|
+
};
|
|
41142
|
+
export type DeleteToolProvidersProviderIdConnectionsConnectionId_QueryParams = {
|
|
41143
|
+
/** When true, revoke at the provider and drop the row even if pinned by agents */
|
|
41144
|
+
force?: (boolean | ('true' | 'false')) | undefined;
|
|
41145
|
+
/** Toolkit slug for the connection (used when the row was upserted with one) */
|
|
41146
|
+
toolkit?: string | undefined;
|
|
41147
|
+
};
|
|
41148
|
+
export type DeleteToolProvidersProviderIdConnectionsConnectionId_Response = {
|
|
41149
|
+
ok: true;
|
|
41150
|
+
/** Whether the provider-side connection was revoked */
|
|
41151
|
+
revoked: boolean;
|
|
41152
|
+
};
|
|
41153
|
+
export type DeleteToolProvidersProviderIdConnectionsConnectionId_Request = Simplify<(DeleteToolProvidersProviderIdConnectionsConnectionId_PathParams extends never ? {} : {
|
|
41154
|
+
params: DeleteToolProvidersProviderIdConnectionsConnectionId_PathParams;
|
|
41155
|
+
}) & (DeleteToolProvidersProviderIdConnectionsConnectionId_QueryParams extends never ? {} : {} extends DeleteToolProvidersProviderIdConnectionsConnectionId_QueryParams ? {
|
|
41156
|
+
query?: DeleteToolProvidersProviderIdConnectionsConnectionId_QueryParams;
|
|
41157
|
+
} : {
|
|
41158
|
+
query: DeleteToolProvidersProviderIdConnectionsConnectionId_QueryParams;
|
|
41159
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
41160
|
+
body?: never;
|
|
41161
|
+
} : {
|
|
41162
|
+
body: never;
|
|
41163
|
+
})>;
|
|
41164
|
+
export interface DeleteToolProvidersProviderIdConnectionsConnectionId_RouteContract {
|
|
41165
|
+
pathParams: DeleteToolProvidersProviderIdConnectionsConnectionId_PathParams;
|
|
41166
|
+
queryParams: DeleteToolProvidersProviderIdConnectionsConnectionId_QueryParams;
|
|
41167
|
+
body: never;
|
|
41168
|
+
request: DeleteToolProvidersProviderIdConnectionsConnectionId_Request;
|
|
41169
|
+
response: DeleteToolProvidersProviderIdConnectionsConnectionId_Response;
|
|
41170
|
+
responseType: 'json';
|
|
41171
|
+
}
|
|
41172
|
+
export type GetToolProvidersProviderIdConnectionsConnectionIdUsage_PathParams = {
|
|
41173
|
+
/** Unique identifier for the tool provider */
|
|
41174
|
+
providerId: string;
|
|
41175
|
+
/** Adapter-native connection id (e.g. Composio ca_...) */
|
|
41176
|
+
connectionId: string;
|
|
41177
|
+
};
|
|
41178
|
+
export type GetToolProvidersProviderIdConnectionsConnectionIdUsage_QueryParams = {
|
|
41179
|
+
/** Optional toolkit slug to scope the usage scan */
|
|
41180
|
+
toolkit?: string | undefined;
|
|
41181
|
+
};
|
|
41182
|
+
export type GetToolProvidersProviderIdConnectionsConnectionIdUsage_Response = {
|
|
41183
|
+
agents: {
|
|
41184
|
+
id: string;
|
|
41185
|
+
name: string;
|
|
41186
|
+
}[];
|
|
41187
|
+
};
|
|
41188
|
+
export type GetToolProvidersProviderIdConnectionsConnectionIdUsage_Request = Simplify<(GetToolProvidersProviderIdConnectionsConnectionIdUsage_PathParams extends never ? {} : {
|
|
41189
|
+
params: GetToolProvidersProviderIdConnectionsConnectionIdUsage_PathParams;
|
|
41190
|
+
}) & (GetToolProvidersProviderIdConnectionsConnectionIdUsage_QueryParams extends never ? {} : {} extends GetToolProvidersProviderIdConnectionsConnectionIdUsage_QueryParams ? {
|
|
41191
|
+
query?: GetToolProvidersProviderIdConnectionsConnectionIdUsage_QueryParams;
|
|
41192
|
+
} : {
|
|
41193
|
+
query: GetToolProvidersProviderIdConnectionsConnectionIdUsage_QueryParams;
|
|
41194
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
41195
|
+
body?: never;
|
|
41196
|
+
} : {
|
|
41197
|
+
body: never;
|
|
41198
|
+
})>;
|
|
41199
|
+
export interface GetToolProvidersProviderIdConnectionsConnectionIdUsage_RouteContract {
|
|
41200
|
+
pathParams: GetToolProvidersProviderIdConnectionsConnectionIdUsage_PathParams;
|
|
41201
|
+
queryParams: GetToolProvidersProviderIdConnectionsConnectionIdUsage_QueryParams;
|
|
41202
|
+
body: never;
|
|
41203
|
+
request: GetToolProvidersProviderIdConnectionsConnectionIdUsage_Request;
|
|
41204
|
+
response: GetToolProvidersProviderIdConnectionsConnectionIdUsage_Response;
|
|
41205
|
+
responseType: 'json';
|
|
41206
|
+
}
|
|
41207
|
+
export type GetToolProvidersProviderIdHealth_PathParams = {
|
|
41208
|
+
/** Unique identifier for the tool provider */
|
|
41209
|
+
providerId: string;
|
|
41210
|
+
};
|
|
41211
|
+
export type GetToolProvidersProviderIdHealth_Response = {
|
|
41212
|
+
ok: boolean;
|
|
41213
|
+
message?: string | undefined;
|
|
41214
|
+
details?: {
|
|
41215
|
+
[key: string]: unknown;
|
|
41216
|
+
} | undefined;
|
|
41217
|
+
};
|
|
41218
|
+
export type GetToolProvidersProviderIdHealth_Request = Simplify<(GetToolProvidersProviderIdHealth_PathParams extends never ? {} : {
|
|
41219
|
+
params: GetToolProvidersProviderIdHealth_PathParams;
|
|
41220
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
41221
|
+
query?: never;
|
|
41222
|
+
} : {
|
|
41223
|
+
query: never;
|
|
41224
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
41225
|
+
body?: never;
|
|
41226
|
+
} : {
|
|
41227
|
+
body: never;
|
|
41228
|
+
})>;
|
|
41229
|
+
export interface GetToolProvidersProviderIdHealth_RouteContract {
|
|
41230
|
+
pathParams: GetToolProvidersProviderIdHealth_PathParams;
|
|
41231
|
+
queryParams: never;
|
|
41232
|
+
body: never;
|
|
41233
|
+
request: GetToolProvidersProviderIdHealth_Request;
|
|
41234
|
+
response: GetToolProvidersProviderIdHealth_Response;
|
|
41235
|
+
responseType: 'json';
|
|
41236
|
+
}
|
|
39927
41237
|
export type GetProcessorProviders_Response = {
|
|
39928
41238
|
providers: {
|
|
39929
41239
|
id: string;
|
|
@@ -42443,6 +43753,9 @@ export type GetAgentBuilder_Response = {
|
|
|
42443
43753
|
};
|
|
42444
43754
|
name?: string | undefined;
|
|
42445
43755
|
description?: string | undefined;
|
|
43756
|
+
metadata?: {
|
|
43757
|
+
[key: string]: unknown;
|
|
43758
|
+
} | undefined;
|
|
42446
43759
|
stepGraph: {
|
|
42447
43760
|
type: 'step' | 'sleep' | 'sleepUntil' | 'waitForEvent' | 'parallel' | 'conditional' | 'loop' | 'foreach';
|
|
42448
43761
|
}[];
|
|
@@ -42511,6 +43824,9 @@ export type GetAgentBuilderActionId_Response = {
|
|
|
42511
43824
|
};
|
|
42512
43825
|
name?: string | undefined;
|
|
42513
43826
|
description?: string | undefined;
|
|
43827
|
+
metadata?: {
|
|
43828
|
+
[key: string]: unknown;
|
|
43829
|
+
} | undefined;
|
|
42514
43830
|
stepGraph: {
|
|
42515
43831
|
type: 'step' | 'sleep' | 'sleepUntil' | 'waitForEvent' | 'parallel' | 'conditional' | 'loop' | 'foreach';
|
|
42516
43832
|
}[];
|
|
@@ -42996,6 +44312,56 @@ export interface PostAgentBuilderActionIdResumeAsync_RouteContract {
|
|
|
42996
44312
|
response: PostAgentBuilderActionIdResumeAsync_Response;
|
|
42997
44313
|
responseType: 'json';
|
|
42998
44314
|
}
|
|
44315
|
+
export type PostAgentBuilderActionIdResumeNoWait_PathParams = {
|
|
44316
|
+
/** Unique identifier for the agent-builder action */
|
|
44317
|
+
actionId: string;
|
|
44318
|
+
};
|
|
44319
|
+
export type PostAgentBuilderActionIdResumeNoWait_QueryParams = {
|
|
44320
|
+
/** Unique identifier for the run */
|
|
44321
|
+
runId: string;
|
|
44322
|
+
};
|
|
44323
|
+
export type PostAgentBuilderActionIdResumeNoWait_Body = {
|
|
44324
|
+
step?: (string | string[]) | undefined;
|
|
44325
|
+
resumeData?: unknown | undefined;
|
|
44326
|
+
requestContext?: {
|
|
44327
|
+
[key: string]: unknown;
|
|
44328
|
+
} | undefined;
|
|
44329
|
+
tracingOptions?: {
|
|
44330
|
+
metadata?: {
|
|
44331
|
+
[key: string]: unknown;
|
|
44332
|
+
} | undefined;
|
|
44333
|
+
requestContextKeys?: string[] | undefined;
|
|
44334
|
+
traceId?: string | undefined;
|
|
44335
|
+
parentSpanId?: string | undefined;
|
|
44336
|
+
tags?: string[] | undefined;
|
|
44337
|
+
hideInput?: boolean | undefined;
|
|
44338
|
+
hideOutput?: boolean | undefined;
|
|
44339
|
+
} | undefined;
|
|
44340
|
+
perStep?: boolean | undefined;
|
|
44341
|
+
forEachIndex?: number | undefined;
|
|
44342
|
+
};
|
|
44343
|
+
export type PostAgentBuilderActionIdResumeNoWait_Response = {
|
|
44344
|
+
runId: string;
|
|
44345
|
+
};
|
|
44346
|
+
export type PostAgentBuilderActionIdResumeNoWait_Request = Simplify<(PostAgentBuilderActionIdResumeNoWait_PathParams extends never ? {} : {
|
|
44347
|
+
params: PostAgentBuilderActionIdResumeNoWait_PathParams;
|
|
44348
|
+
}) & (PostAgentBuilderActionIdResumeNoWait_QueryParams extends never ? {} : {} extends PostAgentBuilderActionIdResumeNoWait_QueryParams ? {
|
|
44349
|
+
query?: PostAgentBuilderActionIdResumeNoWait_QueryParams;
|
|
44350
|
+
} : {
|
|
44351
|
+
query: PostAgentBuilderActionIdResumeNoWait_QueryParams;
|
|
44352
|
+
}) & (PostAgentBuilderActionIdResumeNoWait_Body extends never ? {} : {} extends PostAgentBuilderActionIdResumeNoWait_Body ? {
|
|
44353
|
+
body?: PostAgentBuilderActionIdResumeNoWait_Body;
|
|
44354
|
+
} : {
|
|
44355
|
+
body: PostAgentBuilderActionIdResumeNoWait_Body;
|
|
44356
|
+
})>;
|
|
44357
|
+
export interface PostAgentBuilderActionIdResumeNoWait_RouteContract {
|
|
44358
|
+
pathParams: PostAgentBuilderActionIdResumeNoWait_PathParams;
|
|
44359
|
+
queryParams: PostAgentBuilderActionIdResumeNoWait_QueryParams;
|
|
44360
|
+
body: PostAgentBuilderActionIdResumeNoWait_Body;
|
|
44361
|
+
request: PostAgentBuilderActionIdResumeNoWait_Request;
|
|
44362
|
+
response: PostAgentBuilderActionIdResumeNoWait_Response;
|
|
44363
|
+
responseType: 'json';
|
|
44364
|
+
}
|
|
42999
44365
|
export type PostAgentBuilderActionIdResume_PathParams = {
|
|
43000
44366
|
/** Unique identifier for the agent-builder action */
|
|
43001
44367
|
actionId: string;
|
|
@@ -43553,6 +44919,8 @@ export interface RouteTypes {
|
|
|
43553
44919
|
'POST /agents/:agentId/stream-until-idle': PostAgentsAgentIdStreamUntilIdle_RouteContract;
|
|
43554
44920
|
'POST /agents/:agentId/stream/vnext': PostAgentsAgentIdStreamVnext_RouteContract;
|
|
43555
44921
|
'POST /agents/:agentId/observe': PostAgentsAgentIdObserve_RouteContract;
|
|
44922
|
+
'POST /agents/:agentId/send-message': PostAgentsAgentIdSendMessage_RouteContract;
|
|
44923
|
+
'POST /agents/:agentId/queue-message': PostAgentsAgentIdQueueMessage_RouteContract;
|
|
43556
44924
|
'POST /agents/:agentId/signals': PostAgentsAgentIdSignals_RouteContract;
|
|
43557
44925
|
'POST /agents/:agentId/threads/subscribe': PostAgentsAgentIdThreadsSubscribe_RouteContract;
|
|
43558
44926
|
'POST /agents/:agentId/tools/:toolId/execute': PostAgentsAgentIdToolsToolIdExecute_RouteContract;
|
|
@@ -43601,6 +44969,7 @@ export interface RouteTypes {
|
|
|
43601
44969
|
'POST /workflows/:workflowId/start': PostWorkflowsWorkflowIdStart_RouteContract;
|
|
43602
44970
|
'POST /workflows/:workflowId/observe': PostWorkflowsWorkflowIdObserve_RouteContract;
|
|
43603
44971
|
'POST /workflows/:workflowId/resume-async': PostWorkflowsWorkflowIdResumeAsync_RouteContract;
|
|
44972
|
+
'POST /workflows/:workflowId/resume-no-wait': PostWorkflowsWorkflowIdResumeNoWait_RouteContract;
|
|
43604
44973
|
'POST /workflows/:workflowId/resume': PostWorkflowsWorkflowIdResume_RouteContract;
|
|
43605
44974
|
'POST /workflows/:workflowId/runs/:runId/cancel': PostWorkflowsWorkflowIdRunsRunIdCancel_RouteContract;
|
|
43606
44975
|
'POST /workflows/:workflowId/time-travel': PostWorkflowsWorkflowIdTimeTravel_RouteContract;
|
|
@@ -43809,6 +45178,14 @@ export interface RouteTypes {
|
|
|
43809
45178
|
'GET /tool-providers/:providerId/toolkits': GetToolProvidersProviderIdToolkits_RouteContract;
|
|
43810
45179
|
'GET /tool-providers/:providerId/tools': GetToolProvidersProviderIdTools_RouteContract;
|
|
43811
45180
|
'GET /tool-providers/:providerId/tools/:toolSlug/schema': GetToolProvidersProviderIdToolsToolSlugSchema_RouteContract;
|
|
45181
|
+
'POST /tool-providers/:providerId/authorize': PostToolProvidersProviderIdAuthorize_RouteContract;
|
|
45182
|
+
'GET /tool-providers/:providerId/auth-status/:authId': GetToolProvidersProviderIdAuthStatusAuthId_RouteContract;
|
|
45183
|
+
'POST /tool-providers/:providerId/connection-status': PostToolProvidersProviderIdConnectionStatus_RouteContract;
|
|
45184
|
+
'GET /tool-providers/:providerId/connections': GetToolProvidersProviderIdConnections_RouteContract;
|
|
45185
|
+
'GET /tool-providers/:providerId/connection-fields': GetToolProvidersProviderIdConnectionFields_RouteContract;
|
|
45186
|
+
'DELETE /tool-providers/:providerId/connections/:connectionId': DeleteToolProvidersProviderIdConnectionsConnectionId_RouteContract;
|
|
45187
|
+
'GET /tool-providers/:providerId/connections/:connectionId/usage': GetToolProvidersProviderIdConnectionsConnectionIdUsage_RouteContract;
|
|
45188
|
+
'GET /tool-providers/:providerId/health': GetToolProvidersProviderIdHealth_RouteContract;
|
|
43812
45189
|
'GET /processor-providers': GetProcessorProviders_RouteContract;
|
|
43813
45190
|
'GET /processor-providers/:providerId': GetProcessorProvidersProviderId_RouteContract;
|
|
43814
45191
|
'GET /system/packages': GetSystemPackages_RouteContract;
|
|
@@ -43860,6 +45237,7 @@ export interface RouteTypes {
|
|
|
43860
45237
|
'POST /agent-builder/:actionId/observe': PostAgentBuilderActionIdObserve_RouteContract;
|
|
43861
45238
|
'POST /agent-builder/:actionId/observe-stream-legacy': PostAgentBuilderActionIdObserveStreamLegacy_RouteContract;
|
|
43862
45239
|
'POST /agent-builder/:actionId/resume-async': PostAgentBuilderActionIdResumeAsync_RouteContract;
|
|
45240
|
+
'POST /agent-builder/:actionId/resume-no-wait': PostAgentBuilderActionIdResumeNoWait_RouteContract;
|
|
43863
45241
|
'POST /agent-builder/:actionId/resume': PostAgentBuilderActionIdResume_RouteContract;
|
|
43864
45242
|
'POST /agent-builder/:actionId/resume-stream': PostAgentBuilderActionIdResumeStream_RouteContract;
|
|
43865
45243
|
'POST /agent-builder/:actionId/runs/:runId/cancel': PostAgentBuilderActionIdRunsRunIdCancel_RouteContract;
|
|
@@ -43908,6 +45286,9 @@ export interface Client {
|
|
|
43908
45286
|
'/agent-builder/:actionId/resume-async': {
|
|
43909
45287
|
POST: PostAgentBuilderActionIdResumeAsync_RouteContract;
|
|
43910
45288
|
};
|
|
45289
|
+
'/agent-builder/:actionId/resume-no-wait': {
|
|
45290
|
+
POST: PostAgentBuilderActionIdResumeNoWait_RouteContract;
|
|
45291
|
+
};
|
|
43911
45292
|
'/agent-builder/:actionId/resume-stream': {
|
|
43912
45293
|
POST: PostAgentBuilderActionIdResumeStream_RouteContract;
|
|
43913
45294
|
};
|
|
@@ -43992,12 +45373,18 @@ export interface Client {
|
|
|
43992
45373
|
'/agents/:agentId/observe': {
|
|
43993
45374
|
POST: PostAgentsAgentIdObserve_RouteContract;
|
|
43994
45375
|
};
|
|
45376
|
+
'/agents/:agentId/queue-message': {
|
|
45377
|
+
POST: PostAgentsAgentIdQueueMessage_RouteContract;
|
|
45378
|
+
};
|
|
43995
45379
|
'/agents/:agentId/resume-stream': {
|
|
43996
45380
|
POST: PostAgentsAgentIdResumeStream_RouteContract;
|
|
43997
45381
|
};
|
|
43998
45382
|
'/agents/:agentId/resume-stream-until-idle': {
|
|
43999
45383
|
POST: PostAgentsAgentIdResumeStreamUntilIdle_RouteContract;
|
|
44000
45384
|
};
|
|
45385
|
+
'/agents/:agentId/send-message': {
|
|
45386
|
+
POST: PostAgentsAgentIdSendMessage_RouteContract;
|
|
45387
|
+
};
|
|
44001
45388
|
'/agents/:agentId/signals': {
|
|
44002
45389
|
POST: PostAgentsAgentIdSignals_RouteContract;
|
|
44003
45390
|
};
|
|
@@ -44586,6 +45973,30 @@ export interface Client {
|
|
|
44586
45973
|
'/tool-providers': {
|
|
44587
45974
|
GET: GetToolProviders_RouteContract;
|
|
44588
45975
|
};
|
|
45976
|
+
'/tool-providers/:providerId/auth-status/:authId': {
|
|
45977
|
+
GET: GetToolProvidersProviderIdAuthStatusAuthId_RouteContract;
|
|
45978
|
+
};
|
|
45979
|
+
'/tool-providers/:providerId/authorize': {
|
|
45980
|
+
POST: PostToolProvidersProviderIdAuthorize_RouteContract;
|
|
45981
|
+
};
|
|
45982
|
+
'/tool-providers/:providerId/connection-fields': {
|
|
45983
|
+
GET: GetToolProvidersProviderIdConnectionFields_RouteContract;
|
|
45984
|
+
};
|
|
45985
|
+
'/tool-providers/:providerId/connection-status': {
|
|
45986
|
+
POST: PostToolProvidersProviderIdConnectionStatus_RouteContract;
|
|
45987
|
+
};
|
|
45988
|
+
'/tool-providers/:providerId/connections': {
|
|
45989
|
+
GET: GetToolProvidersProviderIdConnections_RouteContract;
|
|
45990
|
+
};
|
|
45991
|
+
'/tool-providers/:providerId/connections/:connectionId': {
|
|
45992
|
+
DELETE: DeleteToolProvidersProviderIdConnectionsConnectionId_RouteContract;
|
|
45993
|
+
};
|
|
45994
|
+
'/tool-providers/:providerId/connections/:connectionId/usage': {
|
|
45995
|
+
GET: GetToolProvidersProviderIdConnectionsConnectionIdUsage_RouteContract;
|
|
45996
|
+
};
|
|
45997
|
+
'/tool-providers/:providerId/health': {
|
|
45998
|
+
GET: GetToolProvidersProviderIdHealth_RouteContract;
|
|
45999
|
+
};
|
|
44589
46000
|
'/tool-providers/:providerId/toolkits': {
|
|
44590
46001
|
GET: GetToolProvidersProviderIdToolkits_RouteContract;
|
|
44591
46002
|
};
|
|
@@ -44673,6 +46084,9 @@ export interface Client {
|
|
|
44673
46084
|
'/workflows/:workflowId/resume-async': {
|
|
44674
46085
|
POST: PostWorkflowsWorkflowIdResumeAsync_RouteContract;
|
|
44675
46086
|
};
|
|
46087
|
+
'/workflows/:workflowId/resume-no-wait': {
|
|
46088
|
+
POST: PostWorkflowsWorkflowIdResumeNoWait_RouteContract;
|
|
46089
|
+
};
|
|
44676
46090
|
'/workflows/:workflowId/resume-stream': {
|
|
44677
46091
|
POST: PostWorkflowsWorkflowIdResumeStream_RouteContract;
|
|
44678
46092
|
};
|