@sf-explorer/agentforce-service 1.0.0

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.
@@ -0,0 +1,644 @@
1
+ /**
2
+ * OpenAPI 3.0 specification for Agentforce service API
3
+ */
4
+ export declare const openApiSpec: {
5
+ openapi: string;
6
+ info: {
7
+ title: string;
8
+ description: string;
9
+ version: string;
10
+ };
11
+ servers: {
12
+ url: string;
13
+ description: string;
14
+ }[];
15
+ tags: {
16
+ name: string;
17
+ description: string;
18
+ }[];
19
+ paths: {
20
+ "/health": {
21
+ get: {
22
+ tags: string[];
23
+ summary: string;
24
+ description: string;
25
+ responses: {
26
+ 200: {
27
+ description: string;
28
+ content: {
29
+ "application/json": {
30
+ schema: {
31
+ type: string;
32
+ properties: {
33
+ status: {
34
+ type: string;
35
+ };
36
+ projectDir: {
37
+ type: string;
38
+ };
39
+ orgAlias: {
40
+ type: string;
41
+ };
42
+ };
43
+ };
44
+ };
45
+ };
46
+ };
47
+ };
48
+ };
49
+ };
50
+ "/api/startSession": {
51
+ post: {
52
+ tags: string[];
53
+ summary: string;
54
+ description: string;
55
+ requestBody: {
56
+ required: boolean;
57
+ content: {
58
+ "application/json": {
59
+ schema: {
60
+ type: string;
61
+ properties: {
62
+ agentBundleName: {
63
+ type: string;
64
+ description: string;
65
+ };
66
+ aabName: {
67
+ type: string;
68
+ description: string;
69
+ deprecated: boolean;
70
+ };
71
+ apiNameOrId: {
72
+ type: string;
73
+ description: string;
74
+ };
75
+ useMock: {
76
+ type: string;
77
+ description: string;
78
+ default: boolean;
79
+ };
80
+ };
81
+ };
82
+ };
83
+ };
84
+ };
85
+ responses: {
86
+ 200: {
87
+ description: string;
88
+ content: {
89
+ "application/json": {
90
+ schema: {
91
+ type: string;
92
+ properties: {
93
+ sessionId: {
94
+ type: string;
95
+ };
96
+ };
97
+ };
98
+ };
99
+ };
100
+ };
101
+ 400: {
102
+ description: string;
103
+ };
104
+ 500: {
105
+ description: string;
106
+ };
107
+ };
108
+ };
109
+ };
110
+ "/api/sendmessage": {
111
+ post: {
112
+ tags: string[];
113
+ summary: string;
114
+ description: string;
115
+ requestBody: {
116
+ required: boolean;
117
+ content: {
118
+ "application/json": {
119
+ schema: {
120
+ type: string;
121
+ required: string[];
122
+ properties: {
123
+ sessionId: {
124
+ type: string;
125
+ description: string;
126
+ };
127
+ message: {
128
+ type: string;
129
+ description: string;
130
+ };
131
+ };
132
+ };
133
+ };
134
+ };
135
+ };
136
+ responses: {
137
+ 200: {
138
+ description: string;
139
+ content: {
140
+ "application/json": {
141
+ schema: {
142
+ type: string;
143
+ };
144
+ };
145
+ };
146
+ };
147
+ 400: {
148
+ description: string;
149
+ };
150
+ 404: {
151
+ description: string;
152
+ };
153
+ 500: {
154
+ description: string;
155
+ };
156
+ };
157
+ };
158
+ };
159
+ "/api/trace": {
160
+ post: {
161
+ tags: string[];
162
+ summary: string;
163
+ description: string;
164
+ requestBody: {
165
+ required: boolean;
166
+ content: {
167
+ "application/json": {
168
+ schema: {
169
+ type: string;
170
+ required: string[];
171
+ properties: {
172
+ sessionId: {
173
+ type: string;
174
+ description: string;
175
+ };
176
+ planId: {
177
+ type: string;
178
+ description: string;
179
+ };
180
+ };
181
+ };
182
+ };
183
+ };
184
+ };
185
+ responses: {
186
+ 200: {
187
+ description: string;
188
+ content: {
189
+ "application/json": {
190
+ schema: {
191
+ type: string;
192
+ };
193
+ };
194
+ };
195
+ };
196
+ 400: {
197
+ description: string;
198
+ };
199
+ 404: {
200
+ description: string;
201
+ };
202
+ 500: {
203
+ description: string;
204
+ };
205
+ };
206
+ };
207
+ };
208
+ "/api/endSession": {
209
+ post: {
210
+ tags: string[];
211
+ summary: string;
212
+ description: string;
213
+ requestBody: {
214
+ required: boolean;
215
+ content: {
216
+ "application/json": {
217
+ schema: {
218
+ type: string;
219
+ required: string[];
220
+ properties: {
221
+ sessionId: {
222
+ type: string;
223
+ description: string;
224
+ };
225
+ };
226
+ };
227
+ };
228
+ };
229
+ };
230
+ responses: {
231
+ 200: {
232
+ description: string;
233
+ };
234
+ 400: {
235
+ description: string;
236
+ };
237
+ 404: {
238
+ description: string;
239
+ };
240
+ 500: {
241
+ description: string;
242
+ };
243
+ };
244
+ };
245
+ };
246
+ "/api/compile": {
247
+ post: {
248
+ tags: string[];
249
+ summary: string;
250
+ description: string;
251
+ requestBody: {
252
+ required: boolean;
253
+ content: {
254
+ "application/json": {
255
+ schema: {
256
+ type: string;
257
+ required: string[];
258
+ properties: {
259
+ agentBundleName: {
260
+ type: string;
261
+ description: string;
262
+ };
263
+ aabName: {
264
+ type: string;
265
+ description: string;
266
+ deprecated: boolean;
267
+ };
268
+ };
269
+ };
270
+ };
271
+ };
272
+ };
273
+ responses: {
274
+ 200: {
275
+ description: string;
276
+ content: {
277
+ "application/json": {
278
+ schema: {
279
+ type: string;
280
+ };
281
+ };
282
+ };
283
+ };
284
+ 400: {
285
+ description: string;
286
+ };
287
+ 500: {
288
+ description: string;
289
+ };
290
+ };
291
+ };
292
+ };
293
+ "/api/agents": {
294
+ get: {
295
+ tags: string[];
296
+ summary: string;
297
+ description: string;
298
+ parameters: {
299
+ name: string;
300
+ in: string;
301
+ schema: {
302
+ type: string;
303
+ enum: string[];
304
+ default: string;
305
+ };
306
+ }[];
307
+ responses: {
308
+ 200: {
309
+ description: string;
310
+ content: {
311
+ "application/json": {
312
+ schema: {
313
+ type: string;
314
+ properties: {
315
+ agents: {
316
+ type: string;
317
+ items: {
318
+ type: string;
319
+ };
320
+ };
321
+ source: {
322
+ type: string;
323
+ };
324
+ };
325
+ };
326
+ };
327
+ };
328
+ };
329
+ 500: {
330
+ description: string;
331
+ };
332
+ };
333
+ };
334
+ };
335
+ "/api/agent": {
336
+ post: {
337
+ tags: string[];
338
+ summary: string;
339
+ description: string;
340
+ requestBody: {
341
+ required: boolean;
342
+ content: {
343
+ "application/json": {
344
+ schema: {
345
+ type: string;
346
+ required: string[];
347
+ properties: {
348
+ developerName: {
349
+ type: string;
350
+ };
351
+ agentContent: {
352
+ type: string;
353
+ description: string;
354
+ };
355
+ bundleMetaContent: {
356
+ type: string;
357
+ description: string;
358
+ };
359
+ };
360
+ };
361
+ };
362
+ };
363
+ };
364
+ responses: {
365
+ 201: {
366
+ description: string;
367
+ };
368
+ 400: {
369
+ description: string;
370
+ };
371
+ 409: {
372
+ description: string;
373
+ };
374
+ 500: {
375
+ description: string;
376
+ };
377
+ };
378
+ };
379
+ };
380
+ "/api/agent/{developerName}": {
381
+ get: {
382
+ tags: string[];
383
+ summary: string;
384
+ description: string;
385
+ parameters: {
386
+ name: string;
387
+ in: string;
388
+ required: boolean;
389
+ schema: {
390
+ type: string;
391
+ };
392
+ }[];
393
+ responses: {
394
+ 200: {
395
+ description: string;
396
+ content: {
397
+ "application/json": {
398
+ schema: {
399
+ type: string;
400
+ additionalProperties: {
401
+ type: string;
402
+ };
403
+ };
404
+ };
405
+ };
406
+ };
407
+ 404: {
408
+ description: string;
409
+ };
410
+ 500: {
411
+ description: string;
412
+ };
413
+ };
414
+ };
415
+ put: {
416
+ tags: string[];
417
+ summary: string;
418
+ description: string;
419
+ parameters: {
420
+ name: string;
421
+ in: string;
422
+ required: boolean;
423
+ schema: {
424
+ type: string;
425
+ };
426
+ }[];
427
+ requestBody: {
428
+ required: boolean;
429
+ content: {
430
+ "application/json": {
431
+ schema: {
432
+ type: string;
433
+ required: string[];
434
+ properties: {
435
+ agentContent: {
436
+ type: string;
437
+ };
438
+ bundleMetaContent: {
439
+ type: string;
440
+ };
441
+ };
442
+ };
443
+ };
444
+ };
445
+ };
446
+ responses: {
447
+ 200: {
448
+ description: string;
449
+ };
450
+ 400: {
451
+ description: string;
452
+ };
453
+ 404: {
454
+ description: string;
455
+ };
456
+ 500: {
457
+ description: string;
458
+ };
459
+ };
460
+ };
461
+ };
462
+ "/api/tests": {
463
+ get: {
464
+ tags: string[];
465
+ summary: string;
466
+ description: string;
467
+ parameters: {
468
+ name: string;
469
+ in: string;
470
+ schema: {
471
+ type: string;
472
+ enum: string[];
473
+ default: string;
474
+ };
475
+ description: string;
476
+ }[];
477
+ responses: {
478
+ 200: {
479
+ description: string;
480
+ content: {
481
+ "application/json": {
482
+ schema: {
483
+ type: string;
484
+ properties: {
485
+ tests: {
486
+ type: string;
487
+ items: {
488
+ type: string;
489
+ properties: {
490
+ name: {
491
+ type: string;
492
+ };
493
+ path: {
494
+ type: string;
495
+ };
496
+ };
497
+ };
498
+ };
499
+ };
500
+ };
501
+ };
502
+ };
503
+ };
504
+ 500: {
505
+ description: string;
506
+ };
507
+ };
508
+ };
509
+ };
510
+ "/api/tests/{filename}": {
511
+ get: {
512
+ tags: string[];
513
+ summary: string;
514
+ description: string;
515
+ parameters: {
516
+ name: string;
517
+ in: string;
518
+ required: boolean;
519
+ schema: {
520
+ type: string;
521
+ };
522
+ }[];
523
+ responses: {
524
+ 200: {
525
+ description: string;
526
+ content: {
527
+ "application/json": {
528
+ schema: {
529
+ type: string;
530
+ };
531
+ };
532
+ };
533
+ };
534
+ 400: {
535
+ description: string;
536
+ };
537
+ 404: {
538
+ description: string;
539
+ };
540
+ 500: {
541
+ description: string;
542
+ };
543
+ };
544
+ };
545
+ };
546
+ "/api/tests/run": {
547
+ post: {
548
+ tags: string[];
549
+ summary: string;
550
+ description: string;
551
+ requestBody: {
552
+ required: boolean;
553
+ content: {
554
+ "application/json": {
555
+ schema: {
556
+ type: string;
557
+ properties: {
558
+ aiEvaluationDefinitionName: {
559
+ type: string;
560
+ description: string;
561
+ };
562
+ aiEvaluationDefinitionId: {
563
+ type: string;
564
+ description: string;
565
+ };
566
+ testFile: {
567
+ type: string;
568
+ description: string;
569
+ };
570
+ agentBundleName: {
571
+ type: string;
572
+ description: string;
573
+ };
574
+ };
575
+ };
576
+ };
577
+ };
578
+ };
579
+ responses: {
580
+ 200: {
581
+ description: string;
582
+ content: {
583
+ "application/json": {
584
+ schema: {
585
+ type: string;
586
+ };
587
+ };
588
+ };
589
+ };
590
+ 400: {
591
+ description: string;
592
+ };
593
+ 404: {
594
+ description: string;
595
+ };
596
+ 500: {
597
+ description: string;
598
+ };
599
+ };
600
+ };
601
+ };
602
+ "/api/tests/runs/{runId}": {
603
+ get: {
604
+ tags: string[];
605
+ summary: string;
606
+ description: string;
607
+ parameters: ({
608
+ name: string;
609
+ in: string;
610
+ required: boolean;
611
+ schema: {
612
+ type: string;
613
+ enum?: undefined;
614
+ };
615
+ description?: undefined;
616
+ } | {
617
+ name: string;
618
+ in: string;
619
+ schema: {
620
+ type: string;
621
+ enum: string[];
622
+ };
623
+ description: string;
624
+ required?: undefined;
625
+ })[];
626
+ responses: {
627
+ 200: {
628
+ description: string;
629
+ content: {
630
+ "application/json": {
631
+ schema: {
632
+ type: string;
633
+ };
634
+ };
635
+ };
636
+ };
637
+ 500: {
638
+ description: string;
639
+ };
640
+ };
641
+ };
642
+ };
643
+ };
644
+ };