@celigo/api-specs 0.2.305 → 0.2.306
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.yml +28 -3
- package/dist/flow.yml +110 -30
- package/dist/knowledgebase.yml +1900 -0
- package/dist/tool.yml +19 -2
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/tool.yml
CHANGED
|
@@ -2659,6 +2659,14 @@ paths:
|
|
|
2659
2659
|
Returns the stage-by-stage result of a single step from a prior tool test
|
|
2660
2660
|
run. Each entry in `stages[]` describes one stage (e.g. `request`,
|
|
2661
2661
|
`parse`, `router`, `input`) with its `input`, `output`, and any `errors`.
|
|
2662
|
+
`input` and `output` are `null` when the stage has nothing on that side and
|
|
2663
|
+
arrays for most stages, but objects on a step's response-mapping stages:
|
|
2664
|
+
`responseMap` takes `{contexts}` (one per input, the step's parsed reply plus
|
|
2665
|
+
`statusCode`, `headers`, and `_json`) and returns `{data}`, the mapped
|
|
2666
|
+
records as `{record, traceKey}`; `postResponseMapHook` takes the hook's
|
|
2667
|
+
`options` (`postResponseMapData`, `responseData`, `configuration`) and
|
|
2668
|
+
returns `{data}`. The stage stores each `postResponseMapData` entry as
|
|
2669
|
+
`{record, traceKey}`, while the hook itself receives the bare records.
|
|
2662
2670
|
A router's step id returns a top-level `output` instead of `stages` and
|
|
2663
2671
|
`errors`: one entry per input, with the `branches` position the router
|
|
2664
2672
|
chose and any routing `errors`.
|
|
@@ -2729,17 +2737,26 @@ paths:
|
|
|
2729
2737
|
type: object
|
|
2730
2738
|
additionalProperties: true
|
|
2731
2739
|
output:
|
|
2732
|
-
description:
|
|
2740
|
+
description: |-
|
|
2741
|
+
What the stage produced: an array for most stages,
|
|
2742
|
+
`{data}` for `responseMap` and `postResponseMapHook`, or
|
|
2743
|
+
`null` when the stage produced nothing.
|
|
2733
2744
|
type:
|
|
2734
2745
|
- array
|
|
2746
|
+
- object
|
|
2735
2747
|
- 'null'
|
|
2736
2748
|
items:
|
|
2737
2749
|
type: object
|
|
2738
2750
|
additionalProperties: true
|
|
2739
2751
|
input:
|
|
2740
|
-
description:
|
|
2752
|
+
description: |-
|
|
2753
|
+
What the stage received: an array for most stages, an
|
|
2754
|
+
object for `responseMap` (`{contexts}`) and
|
|
2755
|
+
`postResponseMapHook` (the hook's `options`), or `null`
|
|
2756
|
+
when the stage consumed nothing.
|
|
2741
2757
|
type:
|
|
2742
2758
|
- array
|
|
2759
|
+
- object
|
|
2743
2760
|
- 'null'
|
|
2744
2761
|
items:
|
|
2745
2762
|
type: object
|
package/package.json
CHANGED